# coding: utf-8

"""
    Cloudera Manager API

    <h1>Cloudera Manager API v57</h1>       <p>Introduced in Cloudera Manager 7.13.1</p>       <p><a href=\"http://www.cloudera.com/documentation.html\">Cloudera Product Documentation</a></p>  # noqa: E501

    OpenAPI spec version: 7.13.1
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""

import pprint
import re  # noqa: F401

import six

class ApiEnableCspArguments(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 = {
        'csp_type': 'str',
        'csp_storage_path': 'str',
        'csp_secret_path': 'str',
        'csp_address': 'str'
    }

    attribute_map = {
        'csp_type': 'cspType',
        'csp_storage_path': 'cspStoragePath',
        'csp_secret_path': 'cspSecretPath',
        'csp_address': 'cspAddress'
    }

    def __init__(self, csp_type=None, csp_storage_path=None, csp_secret_path=None, csp_address=None):  # noqa: E501
        """ApiEnableCspArguments - a model defined in Swagger"""  # noqa: E501
        self._csp_type = None
        self._csp_storage_path = None
        self._csp_secret_path = None
        self._csp_address = None
        self.discriminator = None
        if csp_type is not None:
            self.csp_type = csp_type
        if csp_storage_path is not None:
            self.csp_storage_path = csp_storage_path
        if csp_secret_path is not None:
            self.csp_secret_path = csp_secret_path
        if csp_address is not None:
            self.csp_address = csp_address

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


        :return: The csp_type of this ApiEnableCspArguments.  # noqa: E501
        :rtype: str
        """
        return self._csp_type

    @csp_type.setter
    def csp_type(self, csp_type):
        """Sets the csp_type of this ApiEnableCspArguments.


        :param csp_type: The csp_type of this ApiEnableCspArguments.  # noqa: E501
        :type: str
        """

        self._csp_type = csp_type

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


        :return: The csp_storage_path of this ApiEnableCspArguments.  # noqa: E501
        :rtype: str
        """
        return self._csp_storage_path

    @csp_storage_path.setter
    def csp_storage_path(self, csp_storage_path):
        """Sets the csp_storage_path of this ApiEnableCspArguments.


        :param csp_storage_path: The csp_storage_path of this ApiEnableCspArguments.  # noqa: E501
        :type: str
        """

        self._csp_storage_path = csp_storage_path

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


        :return: The csp_secret_path of this ApiEnableCspArguments.  # noqa: E501
        :rtype: str
        """
        return self._csp_secret_path

    @csp_secret_path.setter
    def csp_secret_path(self, csp_secret_path):
        """Sets the csp_secret_path of this ApiEnableCspArguments.


        :param csp_secret_path: The csp_secret_path of this ApiEnableCspArguments.  # noqa: E501
        :type: str
        """

        self._csp_secret_path = csp_secret_path

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


        :return: The csp_address of this ApiEnableCspArguments.  # noqa: E501
        :rtype: str
        """
        return self._csp_address

    @csp_address.setter
    def csp_address(self, csp_address):
        """Sets the csp_address of this ApiEnableCspArguments.


        :param csp_address: The csp_address of this ApiEnableCspArguments.  # noqa: E501
        :type: str
        """

        self._csp_address = csp_address

    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(ApiEnableCspArguments, 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, ApiEnableCspArguments):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        return not self == other
