# coding: utf-8

"""
    cloudidentity

    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 GetUserProvisioningResponse(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 = {
        'created_time': 'str',
        'deletion_strategy': 'str',
        'description': 'str',
        'duplication_strategy': 'str',
        'duplication_suffix': 'str',
        'identity_source_strategy': 'str',
        'principal_id': 'str',
        'principal_name': 'str',
        'principal_type': 'str',
        'provision_status': 'str',
        'target_id': 'str',
        'updated_time': 'str',
        'user_provisioning_id': 'str'
    }

    attribute_map = {
        'created_time': 'CreatedTime',
        'deletion_strategy': 'DeletionStrategy',
        'description': 'Description',
        'duplication_strategy': 'DuplicationStrategy',
        'duplication_suffix': 'DuplicationSuffix',
        'identity_source_strategy': 'IdentitySourceStrategy',
        'principal_id': 'PrincipalId',
        'principal_name': 'PrincipalName',
        'principal_type': 'PrincipalType',
        'provision_status': 'ProvisionStatus',
        'target_id': 'TargetId',
        'updated_time': 'UpdatedTime',
        'user_provisioning_id': 'UserProvisioningId'
    }

    def __init__(self, created_time=None, deletion_strategy=None, description=None, duplication_strategy=None, duplication_suffix=None, identity_source_strategy=None, principal_id=None, principal_name=None, principal_type=None, provision_status=None, target_id=None, updated_time=None, user_provisioning_id=None, _configuration=None):  # noqa: E501
        """GetUserProvisioningResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._created_time = None
        self._deletion_strategy = None
        self._description = None
        self._duplication_strategy = None
        self._duplication_suffix = None
        self._identity_source_strategy = None
        self._principal_id = None
        self._principal_name = None
        self._principal_type = None
        self._provision_status = None
        self._target_id = None
        self._updated_time = None
        self._user_provisioning_id = None
        self.discriminator = None

        if created_time is not None:
            self.created_time = created_time
        if deletion_strategy is not None:
            self.deletion_strategy = deletion_strategy
        if description is not None:
            self.description = description
        if duplication_strategy is not None:
            self.duplication_strategy = duplication_strategy
        if duplication_suffix is not None:
            self.duplication_suffix = duplication_suffix
        if identity_source_strategy is not None:
            self.identity_source_strategy = identity_source_strategy
        if principal_id is not None:
            self.principal_id = principal_id
        if principal_name is not None:
            self.principal_name = principal_name
        if principal_type is not None:
            self.principal_type = principal_type
        if provision_status is not None:
            self.provision_status = provision_status
        if target_id is not None:
            self.target_id = target_id
        if updated_time is not None:
            self.updated_time = updated_time
        if user_provisioning_id is not None:
            self.user_provisioning_id = user_provisioning_id

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


        :return: The created_time of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._created_time

    @created_time.setter
    def created_time(self, created_time):
        """Sets the created_time of this GetUserProvisioningResponse.


        :param created_time: The created_time of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._created_time = created_time

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


        :return: The deletion_strategy of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._deletion_strategy

    @deletion_strategy.setter
    def deletion_strategy(self, deletion_strategy):
        """Sets the deletion_strategy of this GetUserProvisioningResponse.


        :param deletion_strategy: The deletion_strategy of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._deletion_strategy = deletion_strategy

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


        :return: The description of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """Sets the description of this GetUserProvisioningResponse.


        :param description: The description of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._description = description

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


        :return: The duplication_strategy of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._duplication_strategy

    @duplication_strategy.setter
    def duplication_strategy(self, duplication_strategy):
        """Sets the duplication_strategy of this GetUserProvisioningResponse.


        :param duplication_strategy: The duplication_strategy of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._duplication_strategy = duplication_strategy

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


        :return: The duplication_suffix of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._duplication_suffix

    @duplication_suffix.setter
    def duplication_suffix(self, duplication_suffix):
        """Sets the duplication_suffix of this GetUserProvisioningResponse.


        :param duplication_suffix: The duplication_suffix of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._duplication_suffix = duplication_suffix

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


        :return: The identity_source_strategy of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._identity_source_strategy

    @identity_source_strategy.setter
    def identity_source_strategy(self, identity_source_strategy):
        """Sets the identity_source_strategy of this GetUserProvisioningResponse.


        :param identity_source_strategy: The identity_source_strategy of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._identity_source_strategy = identity_source_strategy

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


        :return: The principal_id of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._principal_id

    @principal_id.setter
    def principal_id(self, principal_id):
        """Sets the principal_id of this GetUserProvisioningResponse.


        :param principal_id: The principal_id of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._principal_id = principal_id

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


        :return: The principal_name of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._principal_name

    @principal_name.setter
    def principal_name(self, principal_name):
        """Sets the principal_name of this GetUserProvisioningResponse.


        :param principal_name: The principal_name of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._principal_name = principal_name

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


        :return: The principal_type of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._principal_type

    @principal_type.setter
    def principal_type(self, principal_type):
        """Sets the principal_type of this GetUserProvisioningResponse.


        :param principal_type: The principal_type of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._principal_type = principal_type

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


        :return: The provision_status of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._provision_status

    @provision_status.setter
    def provision_status(self, provision_status):
        """Sets the provision_status of this GetUserProvisioningResponse.


        :param provision_status: The provision_status of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._provision_status = provision_status

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


        :return: The target_id of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._target_id

    @target_id.setter
    def target_id(self, target_id):
        """Sets the target_id of this GetUserProvisioningResponse.


        :param target_id: The target_id of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._target_id = target_id

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


        :return: The updated_time of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._updated_time

    @updated_time.setter
    def updated_time(self, updated_time):
        """Sets the updated_time of this GetUserProvisioningResponse.


        :param updated_time: The updated_time of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._updated_time = updated_time

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


        :return: The user_provisioning_id of this GetUserProvisioningResponse.  # noqa: E501
        :rtype: str
        """
        return self._user_provisioning_id

    @user_provisioning_id.setter
    def user_provisioning_id(self, user_provisioning_id):
        """Sets the user_provisioning_id of this GetUserProvisioningResponse.


        :param user_provisioning_id: The user_provisioning_id of this GetUserProvisioningResponse.  # noqa: E501
        :type: str
        """

        self._user_provisioning_id = user_provisioning_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(GetUserProvisioningResponse, 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, GetUserProvisioningResponse):
            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, GetUserProvisioningResponse):
            return True

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