# coding: utf-8

"""
    Akeyless API

    The purpose of this application is to provide access to Akeyless API.  # noqa: E501

    The version of the OpenAPI document: 2.0
    Contact: support@akeyless.io
    Generated by: https://openapi-generator.tech
"""


import pprint
import re  # noqa: F401

import six

from akeyless.configuration import Configuration


class CreateRotatedSecret(object):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_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.
    """
    openapi_types = {
        'api_id': 'str',
        'api_key': 'str',
        'application_id': 'str',
        'authentication_credentials': 'str',
        'auto_rotate': 'str',
        'aws_region': 'str',
        'custom_payload': 'str',
        'delete_protection': 'str',
        'json': 'bool',
        'key': 'str',
        'metadata': 'str',
        'name': 'str',
        'rotated_password': 'str',
        'rotated_username': 'str',
        'rotation_hour': 'int',
        'rotation_interval': 'str',
        'rotator_creds_type': 'str',
        'rotator_custom_cmd': 'str',
        'rotator_type': 'str',
        'secure_access_allow_external_user': 'bool',
        'secure_access_aws_account_id': 'str',
        'secure_access_aws_native_cli': 'bool',
        'secure_access_bastion_issuer': 'str',
        'secure_access_db_name': 'str',
        'secure_access_db_schema': 'str',
        'secure_access_enable': 'str',
        'secure_access_host': 'list[str]',
        'secure_access_rdp_domain': 'str',
        'secure_access_rdp_user': 'str',
        'secure_access_web': 'bool',
        'secure_access_web_browsing': 'bool',
        'secure_access_web_proxy': 'bool',
        'ssh_password': 'str',
        'ssh_username': 'str',
        'storage_account_key_name': 'str',
        'tags': 'list[str]',
        'target_name': 'str',
        'token': 'str',
        'uid_token': 'str',
        'user_attribute': 'str',
        'user_dn': 'str'
    }

    attribute_map = {
        'api_id': 'api-id',
        'api_key': 'api-key',
        'application_id': 'application-id',
        'authentication_credentials': 'authentication-credentials',
        'auto_rotate': 'auto-rotate',
        'aws_region': 'aws-region',
        'custom_payload': 'custom-payload',
        'delete_protection': 'delete_protection',
        'json': 'json',
        'key': 'key',
        'metadata': 'metadata',
        'name': 'name',
        'rotated_password': 'rotated-password',
        'rotated_username': 'rotated-username',
        'rotation_hour': 'rotation-hour',
        'rotation_interval': 'rotation-interval',
        'rotator_creds_type': 'rotator-creds-type',
        'rotator_custom_cmd': 'rotator-custom-cmd',
        'rotator_type': 'rotator-type',
        'secure_access_allow_external_user': 'secure-access-allow-external-user',
        'secure_access_aws_account_id': 'secure-access-aws-account-id',
        'secure_access_aws_native_cli': 'secure-access-aws-native-cli',
        'secure_access_bastion_issuer': 'secure-access-bastion-issuer',
        'secure_access_db_name': 'secure-access-db-name',
        'secure_access_db_schema': 'secure-access-db-schema',
        'secure_access_enable': 'secure-access-enable',
        'secure_access_host': 'secure-access-host',
        'secure_access_rdp_domain': 'secure-access-rdp-domain',
        'secure_access_rdp_user': 'secure-access-rdp-user',
        'secure_access_web': 'secure-access-web',
        'secure_access_web_browsing': 'secure-access-web-browsing',
        'secure_access_web_proxy': 'secure-access-web-proxy',
        'ssh_password': 'ssh-password',
        'ssh_username': 'ssh-username',
        'storage_account_key_name': 'storage-account-key-name',
        'tags': 'tags',
        'target_name': 'target-name',
        'token': 'token',
        'uid_token': 'uid-token',
        'user_attribute': 'user-attribute',
        'user_dn': 'user-dn'
    }

    def __init__(self, api_id=None, api_key=None, application_id=None, authentication_credentials=None, auto_rotate=None, aws_region='us-east-2', custom_payload=None, delete_protection=None, json=None, key=None, metadata=None, name=None, rotated_password=None, rotated_username=None, rotation_hour=None, rotation_interval=None, rotator_creds_type=None, rotator_custom_cmd=None, rotator_type=None, secure_access_allow_external_user=False, secure_access_aws_account_id=None, secure_access_aws_native_cli=None, secure_access_bastion_issuer=None, secure_access_db_name=None, secure_access_db_schema=None, secure_access_enable=None, secure_access_host=None, secure_access_rdp_domain=None, secure_access_rdp_user=None, secure_access_web=False, secure_access_web_browsing=False, secure_access_web_proxy=False, ssh_password=None, ssh_username=None, storage_account_key_name=None, tags=None, target_name=None, token=None, uid_token=None, user_attribute=None, user_dn=None, local_vars_configuration=None):  # noqa: E501
        """CreateRotatedSecret - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._api_id = None
        self._api_key = None
        self._application_id = None
        self._authentication_credentials = None
        self._auto_rotate = None
        self._aws_region = None
        self._custom_payload = None
        self._delete_protection = None
        self._json = None
        self._key = None
        self._metadata = None
        self._name = None
        self._rotated_password = None
        self._rotated_username = None
        self._rotation_hour = None
        self._rotation_interval = None
        self._rotator_creds_type = None
        self._rotator_custom_cmd = None
        self._rotator_type = None
        self._secure_access_allow_external_user = None
        self._secure_access_aws_account_id = None
        self._secure_access_aws_native_cli = None
        self._secure_access_bastion_issuer = None
        self._secure_access_db_name = None
        self._secure_access_db_schema = None
        self._secure_access_enable = None
        self._secure_access_host = None
        self._secure_access_rdp_domain = None
        self._secure_access_rdp_user = None
        self._secure_access_web = None
        self._secure_access_web_browsing = None
        self._secure_access_web_proxy = None
        self._ssh_password = None
        self._ssh_username = None
        self._storage_account_key_name = None
        self._tags = None
        self._target_name = None
        self._token = None
        self._uid_token = None
        self._user_attribute = None
        self._user_dn = None
        self.discriminator = None

        if api_id is not None:
            self.api_id = api_id
        if api_key is not None:
            self.api_key = api_key
        if application_id is not None:
            self.application_id = application_id
        if authentication_credentials is not None:
            self.authentication_credentials = authentication_credentials
        if auto_rotate is not None:
            self.auto_rotate = auto_rotate
        if aws_region is not None:
            self.aws_region = aws_region
        if custom_payload is not None:
            self.custom_payload = custom_payload
        if delete_protection is not None:
            self.delete_protection = delete_protection
        if json is not None:
            self.json = json
        if key is not None:
            self.key = key
        if metadata is not None:
            self.metadata = metadata
        self.name = name
        if rotated_password is not None:
            self.rotated_password = rotated_password
        if rotated_username is not None:
            self.rotated_username = rotated_username
        if rotation_hour is not None:
            self.rotation_hour = rotation_hour
        if rotation_interval is not None:
            self.rotation_interval = rotation_interval
        if rotator_creds_type is not None:
            self.rotator_creds_type = rotator_creds_type
        if rotator_custom_cmd is not None:
            self.rotator_custom_cmd = rotator_custom_cmd
        self.rotator_type = rotator_type
        if secure_access_allow_external_user is not None:
            self.secure_access_allow_external_user = secure_access_allow_external_user
        if secure_access_aws_account_id is not None:
            self.secure_access_aws_account_id = secure_access_aws_account_id
        if secure_access_aws_native_cli is not None:
            self.secure_access_aws_native_cli = secure_access_aws_native_cli
        if secure_access_bastion_issuer is not None:
            self.secure_access_bastion_issuer = secure_access_bastion_issuer
        if secure_access_db_name is not None:
            self.secure_access_db_name = secure_access_db_name
        if secure_access_db_schema is not None:
            self.secure_access_db_schema = secure_access_db_schema
        if secure_access_enable is not None:
            self.secure_access_enable = secure_access_enable
        if secure_access_host is not None:
            self.secure_access_host = secure_access_host
        if secure_access_rdp_domain is not None:
            self.secure_access_rdp_domain = secure_access_rdp_domain
        if secure_access_rdp_user is not None:
            self.secure_access_rdp_user = secure_access_rdp_user
        if secure_access_web is not None:
            self.secure_access_web = secure_access_web
        if secure_access_web_browsing is not None:
            self.secure_access_web_browsing = secure_access_web_browsing
        if secure_access_web_proxy is not None:
            self.secure_access_web_proxy = secure_access_web_proxy
        if ssh_password is not None:
            self.ssh_password = ssh_password
        if ssh_username is not None:
            self.ssh_username = ssh_username
        if storage_account_key_name is not None:
            self.storage_account_key_name = storage_account_key_name
        if tags is not None:
            self.tags = tags
        self.target_name = target_name
        if token is not None:
            self.token = token
        if uid_token is not None:
            self.uid_token = uid_token
        if user_attribute is not None:
            self.user_attribute = user_attribute
        if user_dn is not None:
            self.user_dn = user_dn

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


        :return: The api_id of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._api_id

    @api_id.setter
    def api_id(self, api_id):
        """Sets the api_id of this CreateRotatedSecret.


        :param api_id: The api_id of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._api_id = api_id

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


        :return: The api_key of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._api_key

    @api_key.setter
    def api_key(self, api_key):
        """Sets the api_key of this CreateRotatedSecret.


        :param api_key: The api_key of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._api_key = api_key

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

        ApplicationId (used in azure)  # noqa: E501

        :return: The application_id of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._application_id

    @application_id.setter
    def application_id(self, application_id):
        """Sets the application_id of this CreateRotatedSecret.

        ApplicationId (used in azure)  # noqa: E501

        :param application_id: The application_id of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._application_id = application_id

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


        :return: The authentication_credentials of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._authentication_credentials

    @authentication_credentials.setter
    def authentication_credentials(self, authentication_credentials):
        """Sets the authentication_credentials of this CreateRotatedSecret.


        :param authentication_credentials: The authentication_credentials of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._authentication_credentials = authentication_credentials

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

        Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation  # noqa: E501

        :return: The auto_rotate of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._auto_rotate

    @auto_rotate.setter
    def auto_rotate(self, auto_rotate):
        """Sets the auto_rotate of this CreateRotatedSecret.

        Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation  # noqa: E501

        :param auto_rotate: The auto_rotate of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._auto_rotate = auto_rotate

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

        Region (used in aws)  # noqa: E501

        :return: The aws_region of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._aws_region

    @aws_region.setter
    def aws_region(self, aws_region):
        """Sets the aws_region of this CreateRotatedSecret.

        Region (used in aws)  # noqa: E501

        :param aws_region: The aws_region of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._aws_region = aws_region

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


        :return: The custom_payload of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._custom_payload

    @custom_payload.setter
    def custom_payload(self, custom_payload):
        """Sets the custom_payload of this CreateRotatedSecret.


        :param custom_payload: The custom_payload of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._custom_payload = custom_payload

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

        Protection from accidental deletion of this item  # noqa: E501

        :return: The delete_protection of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._delete_protection

    @delete_protection.setter
    def delete_protection(self, delete_protection):
        """Sets the delete_protection of this CreateRotatedSecret.

        Protection from accidental deletion of this item  # noqa: E501

        :param delete_protection: The delete_protection of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._delete_protection = delete_protection

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

        Set output format to JSON  # noqa: E501

        :return: The json of this CreateRotatedSecret.  # noqa: E501
        :rtype: bool
        """
        return self._json

    @json.setter
    def json(self, json):
        """Sets the json of this CreateRotatedSecret.

        Set output format to JSON  # noqa: E501

        :param json: The json of this CreateRotatedSecret.  # noqa: E501
        :type: bool
        """

        self._json = json

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

        The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)  # noqa: E501

        :return: The key of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._key

    @key.setter
    def key(self, key):
        """Sets the key of this CreateRotatedSecret.

        The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)  # noqa: E501

        :param key: The key of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._key = key

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

        Metadata about the secret  # noqa: E501

        :return: The metadata of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._metadata

    @metadata.setter
    def metadata(self, metadata):
        """Sets the metadata of this CreateRotatedSecret.

        Metadata about the secret  # noqa: E501

        :param metadata: The metadata of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._metadata = metadata

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

        Secret name  # noqa: E501

        :return: The name of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """Sets the name of this CreateRotatedSecret.

        Secret name  # noqa: E501

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

        self._name = name

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


        :return: The rotated_password of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._rotated_password

    @rotated_password.setter
    def rotated_password(self, rotated_password):
        """Sets the rotated_password of this CreateRotatedSecret.


        :param rotated_password: The rotated_password of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._rotated_password = rotated_password

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


        :return: The rotated_username of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._rotated_username

    @rotated_username.setter
    def rotated_username(self, rotated_username):
        """Sets the rotated_username of this CreateRotatedSecret.


        :param rotated_username: The rotated_username of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._rotated_username = rotated_username

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


        :return: The rotation_hour of this CreateRotatedSecret.  # noqa: E501
        :rtype: int
        """
        return self._rotation_hour

    @rotation_hour.setter
    def rotation_hour(self, rotation_hour):
        """Sets the rotation_hour of this CreateRotatedSecret.


        :param rotation_hour: The rotation_hour of this CreateRotatedSecret.  # noqa: E501
        :type: int
        """

        self._rotation_hour = rotation_hour

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

        The number of days to wait between every automatic key rotation (1-365)  # noqa: E501

        :return: The rotation_interval of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._rotation_interval

    @rotation_interval.setter
    def rotation_interval(self, rotation_interval):
        """Sets the rotation_interval of this CreateRotatedSecret.

        The number of days to wait between every automatic key rotation (1-365)  # noqa: E501

        :param rotation_interval: The rotation_interval of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._rotation_interval = rotation_interval

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


        :return: The rotator_creds_type of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._rotator_creds_type

    @rotator_creds_type.setter
    def rotator_creds_type(self, rotator_creds_type):
        """Sets the rotator_creds_type of this CreateRotatedSecret.


        :param rotator_creds_type: The rotator_creds_type of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._rotator_creds_type = rotator_creds_type

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


        :return: The rotator_custom_cmd of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._rotator_custom_cmd

    @rotator_custom_cmd.setter
    def rotator_custom_cmd(self, rotator_custom_cmd):
        """Sets the rotator_custom_cmd of this CreateRotatedSecret.


        :param rotator_custom_cmd: The rotator_custom_cmd of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._rotator_custom_cmd = rotator_custom_cmd

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

        Rotator Type  # noqa: E501

        :return: The rotator_type of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._rotator_type

    @rotator_type.setter
    def rotator_type(self, rotator_type):
        """Sets the rotator_type of this CreateRotatedSecret.

        Rotator Type  # noqa: E501

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

        self._rotator_type = rotator_type

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

        Secure Access Allow Providing External User (used in ssh)  # noqa: E501

        :return: The secure_access_allow_external_user of this CreateRotatedSecret.  # noqa: E501
        :rtype: bool
        """
        return self._secure_access_allow_external_user

    @secure_access_allow_external_user.setter
    def secure_access_allow_external_user(self, secure_access_allow_external_user):
        """Sets the secure_access_allow_external_user of this CreateRotatedSecret.

        Secure Access Allow Providing External User (used in ssh)  # noqa: E501

        :param secure_access_allow_external_user: The secure_access_allow_external_user of this CreateRotatedSecret.  # noqa: E501
        :type: bool
        """

        self._secure_access_allow_external_user = secure_access_allow_external_user

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

        Secure Access Account Id (used in aws)  # noqa: E501

        :return: The secure_access_aws_account_id of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._secure_access_aws_account_id

    @secure_access_aws_account_id.setter
    def secure_access_aws_account_id(self, secure_access_aws_account_id):
        """Sets the secure_access_aws_account_id of this CreateRotatedSecret.

        Secure Access Account Id (used in aws)  # noqa: E501

        :param secure_access_aws_account_id: The secure_access_aws_account_id of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._secure_access_aws_account_id = secure_access_aws_account_id

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

        Secure Access Aws Native Cli (used in aws)  # noqa: E501

        :return: The secure_access_aws_native_cli of this CreateRotatedSecret.  # noqa: E501
        :rtype: bool
        """
        return self._secure_access_aws_native_cli

    @secure_access_aws_native_cli.setter
    def secure_access_aws_native_cli(self, secure_access_aws_native_cli):
        """Sets the secure_access_aws_native_cli of this CreateRotatedSecret.

        Secure Access Aws Native Cli (used in aws)  # noqa: E501

        :param secure_access_aws_native_cli: The secure_access_aws_native_cli of this CreateRotatedSecret.  # noqa: E501
        :type: bool
        """

        self._secure_access_aws_native_cli = secure_access_aws_native_cli

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

        Secure Access Bastion Issuer  # noqa: E501

        :return: The secure_access_bastion_issuer of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._secure_access_bastion_issuer

    @secure_access_bastion_issuer.setter
    def secure_access_bastion_issuer(self, secure_access_bastion_issuer):
        """Sets the secure_access_bastion_issuer of this CreateRotatedSecret.

        Secure Access Bastion Issuer  # noqa: E501

        :param secure_access_bastion_issuer: The secure_access_bastion_issuer of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._secure_access_bastion_issuer = secure_access_bastion_issuer

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

        Secure Access DB Name (used in data bases)  # noqa: E501

        :return: The secure_access_db_name of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._secure_access_db_name

    @secure_access_db_name.setter
    def secure_access_db_name(self, secure_access_db_name):
        """Sets the secure_access_db_name of this CreateRotatedSecret.

        Secure Access DB Name (used in data bases)  # noqa: E501

        :param secure_access_db_name: The secure_access_db_name of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._secure_access_db_name = secure_access_db_name

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

        Secure Access Schema (used in mssql, postgresql)  # noqa: E501

        :return: The secure_access_db_schema of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._secure_access_db_schema

    @secure_access_db_schema.setter
    def secure_access_db_schema(self, secure_access_db_schema):
        """Sets the secure_access_db_schema of this CreateRotatedSecret.

        Secure Access Schema (used in mssql, postgresql)  # noqa: E501

        :param secure_access_db_schema: The secure_access_db_schema of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._secure_access_db_schema = secure_access_db_schema

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

        Secure Access Enabled  # noqa: E501

        :return: The secure_access_enable of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._secure_access_enable

    @secure_access_enable.setter
    def secure_access_enable(self, secure_access_enable):
        """Sets the secure_access_enable of this CreateRotatedSecret.

        Secure Access Enabled  # noqa: E501

        :param secure_access_enable: The secure_access_enable of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._secure_access_enable = secure_access_enable

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

        Secure Access Host  # noqa: E501

        :return: The secure_access_host of this CreateRotatedSecret.  # noqa: E501
        :rtype: list[str]
        """
        return self._secure_access_host

    @secure_access_host.setter
    def secure_access_host(self, secure_access_host):
        """Sets the secure_access_host of this CreateRotatedSecret.

        Secure Access Host  # noqa: E501

        :param secure_access_host: The secure_access_host of this CreateRotatedSecret.  # noqa: E501
        :type: list[str]
        """

        self._secure_access_host = secure_access_host

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

        Secure Access Domain (used in ssh)  # noqa: E501

        :return: The secure_access_rdp_domain of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._secure_access_rdp_domain

    @secure_access_rdp_domain.setter
    def secure_access_rdp_domain(self, secure_access_rdp_domain):
        """Sets the secure_access_rdp_domain of this CreateRotatedSecret.

        Secure Access Domain (used in ssh)  # noqa: E501

        :param secure_access_rdp_domain: The secure_access_rdp_domain of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._secure_access_rdp_domain = secure_access_rdp_domain

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

        Secure Access Override User (used in ssh)  # noqa: E501

        :return: The secure_access_rdp_user of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._secure_access_rdp_user

    @secure_access_rdp_user.setter
    def secure_access_rdp_user(self, secure_access_rdp_user):
        """Sets the secure_access_rdp_user of this CreateRotatedSecret.

        Secure Access Override User (used in ssh)  # noqa: E501

        :param secure_access_rdp_user: The secure_access_rdp_user of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._secure_access_rdp_user = secure_access_rdp_user

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

        Secure Access Web  # noqa: E501

        :return: The secure_access_web of this CreateRotatedSecret.  # noqa: E501
        :rtype: bool
        """
        return self._secure_access_web

    @secure_access_web.setter
    def secure_access_web(self, secure_access_web):
        """Sets the secure_access_web of this CreateRotatedSecret.

        Secure Access Web  # noqa: E501

        :param secure_access_web: The secure_access_web of this CreateRotatedSecret.  # noqa: E501
        :type: bool
        """

        self._secure_access_web = secure_access_web

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

        Secure Access Isolated (used in aws, azure)  # noqa: E501

        :return: The secure_access_web_browsing of this CreateRotatedSecret.  # noqa: E501
        :rtype: bool
        """
        return self._secure_access_web_browsing

    @secure_access_web_browsing.setter
    def secure_access_web_browsing(self, secure_access_web_browsing):
        """Sets the secure_access_web_browsing of this CreateRotatedSecret.

        Secure Access Isolated (used in aws, azure)  # noqa: E501

        :param secure_access_web_browsing: The secure_access_web_browsing of this CreateRotatedSecret.  # noqa: E501
        :type: bool
        """

        self._secure_access_web_browsing = secure_access_web_browsing

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

        Secure Access Web Proxy (used in aws, azure)  # noqa: E501

        :return: The secure_access_web_proxy of this CreateRotatedSecret.  # noqa: E501
        :rtype: bool
        """
        return self._secure_access_web_proxy

    @secure_access_web_proxy.setter
    def secure_access_web_proxy(self, secure_access_web_proxy):
        """Sets the secure_access_web_proxy of this CreateRotatedSecret.

        Secure Access Web Proxy (used in aws, azure)  # noqa: E501

        :param secure_access_web_proxy: The secure_access_web_proxy of this CreateRotatedSecret.  # noqa: E501
        :type: bool
        """

        self._secure_access_web_proxy = secure_access_web_proxy

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

        Deprecated: use RotatedPassword  # noqa: E501

        :return: The ssh_password of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._ssh_password

    @ssh_password.setter
    def ssh_password(self, ssh_password):
        """Sets the ssh_password of this CreateRotatedSecret.

        Deprecated: use RotatedPassword  # noqa: E501

        :param ssh_password: The ssh_password of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._ssh_password = ssh_password

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

        Deprecated: use RotatedUser  # noqa: E501

        :return: The ssh_username of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._ssh_username

    @ssh_username.setter
    def ssh_username(self, ssh_username):
        """Sets the ssh_username of this CreateRotatedSecret.

        Deprecated: use RotatedUser  # noqa: E501

        :param ssh_username: The ssh_username of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._ssh_username = ssh_username

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

        The name of the storage account key to rotate [key1/key2/kerb1/kerb2] (relevat to azure-storage-account)  # noqa: E501

        :return: The storage_account_key_name of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._storage_account_key_name

    @storage_account_key_name.setter
    def storage_account_key_name(self, storage_account_key_name):
        """Sets the storage_account_key_name of this CreateRotatedSecret.

        The name of the storage account key to rotate [key1/key2/kerb1/kerb2] (relevat to azure-storage-account)  # noqa: E501

        :param storage_account_key_name: The storage_account_key_name of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._storage_account_key_name = storage_account_key_name

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

        List of the tags attached to this secret  # noqa: E501

        :return: The tags of this CreateRotatedSecret.  # noqa: E501
        :rtype: list[str]
        """
        return self._tags

    @tags.setter
    def tags(self, tags):
        """Sets the tags of this CreateRotatedSecret.

        List of the tags attached to this secret  # noqa: E501

        :param tags: The tags of this CreateRotatedSecret.  # noqa: E501
        :type: list[str]
        """

        self._tags = tags

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

        Target name  # noqa: E501

        :return: The target_name of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._target_name

    @target_name.setter
    def target_name(self, target_name):
        """Sets the target_name of this CreateRotatedSecret.

        Target name  # noqa: E501

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

        self._target_name = target_name

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

        Authentication token (see `/auth` and `/configure`)  # noqa: E501

        :return: The token of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._token

    @token.setter
    def token(self, token):
        """Sets the token of this CreateRotatedSecret.

        Authentication token (see `/auth` and `/configure`)  # noqa: E501

        :param token: The token of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._token = token

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

        The universal identity token, Required only for universal_identity authentication  # noqa: E501

        :return: The uid_token of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._uid_token

    @uid_token.setter
    def uid_token(self, uid_token):
        """Sets the uid_token of this CreateRotatedSecret.

        The universal identity token, Required only for universal_identity authentication  # noqa: E501

        :param uid_token: The uid_token of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._uid_token = uid_token

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

        LDAP User Attribute, Default value \"cn\"  # noqa: E501

        :return: The user_attribute of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._user_attribute

    @user_attribute.setter
    def user_attribute(self, user_attribute):
        """Sets the user_attribute of this CreateRotatedSecret.

        LDAP User Attribute, Default value \"cn\"  # noqa: E501

        :param user_attribute: The user_attribute of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._user_attribute = user_attribute

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

        LDAP User Base DN  # noqa: E501

        :return: The user_dn of this CreateRotatedSecret.  # noqa: E501
        :rtype: str
        """
        return self._user_dn

    @user_dn.setter
    def user_dn(self, user_dn):
        """Sets the user_dn of this CreateRotatedSecret.

        LDAP User Base DN  # noqa: E501

        :param user_dn: The user_dn of this CreateRotatedSecret.  # noqa: E501
        :type: str
        """

        self._user_dn = user_dn

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.openapi_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

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

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