# coding: utf-8

"""
    bmq20240901

    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 RefreshDeviceCredentialResponse(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 = {
        'client_id': 'str',
        'create_time': 'int',
        'device_access_key_id': 'str',
        'device_access_key_secret': 'str',
        'instance_id': 'str',
        'update_time': 'int'
    }

    attribute_map = {
        'client_id': 'ClientId',
        'create_time': 'CreateTime',
        'device_access_key_id': 'DeviceAccessKeyId',
        'device_access_key_secret': 'DeviceAccessKeySecret',
        'instance_id': 'InstanceId',
        'update_time': 'UpdateTime'
    }

    def __init__(self, client_id=None, create_time=None, device_access_key_id=None, device_access_key_secret=None, instance_id=None, update_time=None, _configuration=None):  # noqa: E501
        """RefreshDeviceCredentialResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._client_id = None
        self._create_time = None
        self._device_access_key_id = None
        self._device_access_key_secret = None
        self._instance_id = None
        self._update_time = None
        self.discriminator = None

        if client_id is not None:
            self.client_id = client_id
        if create_time is not None:
            self.create_time = create_time
        if device_access_key_id is not None:
            self.device_access_key_id = device_access_key_id
        if device_access_key_secret is not None:
            self.device_access_key_secret = device_access_key_secret
        if instance_id is not None:
            self.instance_id = instance_id
        if update_time is not None:
            self.update_time = update_time

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


        :return: The client_id of this RefreshDeviceCredentialResponse.  # noqa: E501
        :rtype: str
        """
        return self._client_id

    @client_id.setter
    def client_id(self, client_id):
        """Sets the client_id of this RefreshDeviceCredentialResponse.


        :param client_id: The client_id of this RefreshDeviceCredentialResponse.  # noqa: E501
        :type: str
        """

        self._client_id = client_id

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


        :return: The create_time of this RefreshDeviceCredentialResponse.  # noqa: E501
        :rtype: int
        """
        return self._create_time

    @create_time.setter
    def create_time(self, create_time):
        """Sets the create_time of this RefreshDeviceCredentialResponse.


        :param create_time: The create_time of this RefreshDeviceCredentialResponse.  # noqa: E501
        :type: int
        """

        self._create_time = create_time

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


        :return: The device_access_key_id of this RefreshDeviceCredentialResponse.  # noqa: E501
        :rtype: str
        """
        return self._device_access_key_id

    @device_access_key_id.setter
    def device_access_key_id(self, device_access_key_id):
        """Sets the device_access_key_id of this RefreshDeviceCredentialResponse.


        :param device_access_key_id: The device_access_key_id of this RefreshDeviceCredentialResponse.  # noqa: E501
        :type: str
        """

        self._device_access_key_id = device_access_key_id

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


        :return: The device_access_key_secret of this RefreshDeviceCredentialResponse.  # noqa: E501
        :rtype: str
        """
        return self._device_access_key_secret

    @device_access_key_secret.setter
    def device_access_key_secret(self, device_access_key_secret):
        """Sets the device_access_key_secret of this RefreshDeviceCredentialResponse.


        :param device_access_key_secret: The device_access_key_secret of this RefreshDeviceCredentialResponse.  # noqa: E501
        :type: str
        """

        self._device_access_key_secret = device_access_key_secret

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


        :return: The instance_id of this RefreshDeviceCredentialResponse.  # noqa: E501
        :rtype: str
        """
        return self._instance_id

    @instance_id.setter
    def instance_id(self, instance_id):
        """Sets the instance_id of this RefreshDeviceCredentialResponse.


        :param instance_id: The instance_id of this RefreshDeviceCredentialResponse.  # noqa: E501
        :type: str
        """

        self._instance_id = instance_id

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


        :return: The update_time of this RefreshDeviceCredentialResponse.  # noqa: E501
        :rtype: int
        """
        return self._update_time

    @update_time.setter
    def update_time(self, update_time):
        """Sets the update_time of this RefreshDeviceCredentialResponse.


        :param update_time: The update_time of this RefreshDeviceCredentialResponse.  # noqa: E501
        :type: int
        """

        self._update_time = update_time

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

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