functions/source/deepsecurity/models/api_key.py [112:420]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if id is not None:
            self.id = id

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

        Display name of the APIKey. Searchable as String.  # noqa: E501

        :return: The key_name of this ApiKey.  # noqa: E501
        :rtype: str
        """
        return self._key_name

    @key_name.setter
    def key_name(self, key_name):
        """Sets the key_name of this ApiKey.

        Display name of the APIKey. Searchable as String.  # noqa: E501

        :param key_name: The key_name of this ApiKey.  # noqa: E501
        :type: str
        """

        self._key_name = key_name

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

        Description of the APIKey. Searchable as String.  # noqa: E501

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

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

        Description of the APIKey. Searchable as String.  # noqa: E501

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

        self._description = description

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

        Country and language for the APIKey.  # noqa: E501

        :return: The locale of this ApiKey.  # noqa: E501
        :rtype: str
        """
        return self._locale

    @locale.setter
    def locale(self, locale):
        """Sets the locale of this ApiKey.

        Country and language for the APIKey.  # noqa: E501

        :param locale: The locale of this ApiKey.  # noqa: E501
        :type: str
        """
        allowed_values = ["en-US", "ja-JP"]  # noqa: E501
        if locale not in allowed_values:
            raise ValueError(
                "Invalid value for `locale` ({0}), must be one of {1}"  # noqa: E501
                .format(locale, allowed_values)
            )

        self._locale = locale

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

        ID of the role assigned to the APIKey. Searchable as Numeric.  # noqa: E501

        :return: The role_id of this ApiKey.  # noqa: E501
        :rtype: int
        """
        return self._role_id

    @role_id.setter
    def role_id(self, role_id):
        """Sets the role_id of this ApiKey.

        ID of the role assigned to the APIKey. Searchable as Numeric.  # noqa: E501

        :param role_id: The role_id of this ApiKey.  # noqa: E501
        :type: int
        """

        self._role_id = role_id

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

        Display name of the APIKey's time zone, e.g. America/New_York. Searchable as String.  # noqa: E501

        :return: The time_zone of this ApiKey.  # noqa: E501
        :rtype: str
        """
        return self._time_zone

    @time_zone.setter
    def time_zone(self, time_zone):
        """Sets the time_zone of this ApiKey.

        Display name of the APIKey's time zone, e.g. America/New_York. Searchable as String.  # noqa: E501

        :param time_zone: The time_zone of this ApiKey.  # noqa: E501
        :type: str
        """

        self._time_zone = time_zone

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

        If true, the APIKey can be used to authenticate. If false, the APIKey is locked out. Searchable as Boolean.  # noqa: E501

        :return: The active of this ApiKey.  # noqa: E501
        :rtype: bool
        """
        return self._active

    @active.setter
    def active(self, active):
        """Sets the active of this ApiKey.

        If true, the APIKey can be used to authenticate. If false, the APIKey is locked out. Searchable as Boolean.  # noqa: E501

        :param active: The active of this ApiKey.  # noqa: E501
        :type: bool
        """

        self._active = active

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

        Timestamp of the APIKey's creation, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :return: The created of this ApiKey.  # noqa: E501
        :rtype: int
        """
        return self._created

    @created.setter
    def created(self, created):
        """Sets the created of this ApiKey.

        Timestamp of the APIKey's creation, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :param created: The created of this ApiKey.  # noqa: E501
        :type: int
        """

        self._created = created

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

        Timestamp of the APIKey's last successful authentication, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :return: The last_sign_in of this ApiKey.  # noqa: E501
        :rtype: int
        """
        return self._last_sign_in

    @last_sign_in.setter
    def last_sign_in(self, last_sign_in):
        """Sets the last_sign_in of this ApiKey.

        Timestamp of the APIKey's last successful authentication, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :param last_sign_in: The last_sign_in of this ApiKey.  # noqa: E501
        :type: int
        """

        self._last_sign_in = last_sign_in

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

        Timestamp of when a locked out APIKey will be unlocked, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :return: The unlock_time of this ApiKey.  # noqa: E501
        :rtype: int
        """
        return self._unlock_time

    @unlock_time.setter
    def unlock_time(self, unlock_time):
        """Sets the unlock_time of this ApiKey.

        Timestamp of when a locked out APIKey will be unlocked, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :param unlock_time: The unlock_time of this ApiKey.  # noqa: E501
        :type: int
        """

        self._unlock_time = unlock_time

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

        Number of unsuccessful authentication attempts made since the last successful authentication. Searchable as Numeric.  # noqa: E501

        :return: The unsuccessful_sign_in_attempts of this ApiKey.  # noqa: E501
        :rtype: int
        """
        return self._unsuccessful_sign_in_attempts

    @unsuccessful_sign_in_attempts.setter
    def unsuccessful_sign_in_attempts(self, unsuccessful_sign_in_attempts):
        """Sets the unsuccessful_sign_in_attempts of this ApiKey.

        Number of unsuccessful authentication attempts made since the last successful authentication. Searchable as Numeric.  # noqa: E501

        :param unsuccessful_sign_in_attempts: The unsuccessful_sign_in_attempts of this ApiKey.  # noqa: E501
        :type: int
        """

        self._unsuccessful_sign_in_attempts = unsuccessful_sign_in_attempts

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

        Timestamp of the APIKey's expiry date, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :return: The expiry_date of this ApiKey.  # noqa: E501
        :rtype: int
        """
        return self._expiry_date

    @expiry_date.setter
    def expiry_date(self, expiry_date):
        """Sets the expiry_date of this ApiKey.

        Timestamp of the APIKey's expiry date, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :param expiry_date: The expiry_date of this ApiKey.  # noqa: E501
        :type: int
        """

        self._expiry_date = expiry_date

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

        Secret key used to authenticate API requests. Only returned when creating a new APIKey or regenerating the secret key.  # noqa: E501

        :return: The secret_key of this ApiKey.  # noqa: E501
        :rtype: str
        """
        return self._secret_key

    @secret_key.setter
    def secret_key(self, secret_key):
        """Sets the secret_key of this ApiKey.

        Secret key used to authenticate API requests. Only returned when creating a new APIKey or regenerating the secret key.  # noqa: E501

        :param secret_key: The secret_key of this ApiKey.  # noqa: E501
        :type: str
        """

        self._secret_key = secret_key

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

        If true, the APIKey was created by the primary tenant (T0) to authenticate API calls against other tenants' databases. Searchable as Boolean.  # noqa: E501

        :return: The service_account of this ApiKey.  # noqa: E501
        :rtype: bool
        """
        return self._service_account

    @service_account.setter
    def service_account(self, service_account):
        """Sets the service_account of this ApiKey.

        If true, the APIKey was created by the primary tenant (T0) to authenticate API calls against other tenants' databases. Searchable as Boolean.  # noqa: E501

        :param service_account: The service_account of this ApiKey.  # noqa: E501
        :type: bool
        """

        self._service_account = service_account

    @property
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



functions/source/deepsecurity/models/api_key_current.py [127:435]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if id is not None:
            self.id = id

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

        Display name of the APIKey. Searchable as String.  # noqa: E501

        :return: The key_name of this ApiKeyCurrent.  # noqa: E501
        :rtype: str
        """
        return self._key_name

    @key_name.setter
    def key_name(self, key_name):
        """Sets the key_name of this ApiKeyCurrent.

        Display name of the APIKey. Searchable as String.  # noqa: E501

        :param key_name: The key_name of this ApiKeyCurrent.  # noqa: E501
        :type: str
        """

        self._key_name = key_name

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

        Description of the APIKey. Searchable as String.  # noqa: E501

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

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

        Description of the APIKey. Searchable as String.  # noqa: E501

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

        self._description = description

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

        Country and language for the APIKey.  # noqa: E501

        :return: The locale of this ApiKeyCurrent.  # noqa: E501
        :rtype: str
        """
        return self._locale

    @locale.setter
    def locale(self, locale):
        """Sets the locale of this ApiKeyCurrent.

        Country and language for the APIKey.  # noqa: E501

        :param locale: The locale of this ApiKeyCurrent.  # noqa: E501
        :type: str
        """
        allowed_values = ["en-US", "ja-JP"]  # noqa: E501
        if locale not in allowed_values:
            raise ValueError(
                "Invalid value for `locale` ({0}), must be one of {1}"  # noqa: E501
                .format(locale, allowed_values)
            )

        self._locale = locale

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

        ID of the role assigned to the APIKey. Searchable as Numeric.  # noqa: E501

        :return: The role_id of this ApiKeyCurrent.  # noqa: E501
        :rtype: int
        """
        return self._role_id

    @role_id.setter
    def role_id(self, role_id):
        """Sets the role_id of this ApiKeyCurrent.

        ID of the role assigned to the APIKey. Searchable as Numeric.  # noqa: E501

        :param role_id: The role_id of this ApiKeyCurrent.  # noqa: E501
        :type: int
        """

        self._role_id = role_id

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

        Display name of the APIKey's time zone, e.g. America/New_York. Searchable as String.  # noqa: E501

        :return: The time_zone of this ApiKeyCurrent.  # noqa: E501
        :rtype: str
        """
        return self._time_zone

    @time_zone.setter
    def time_zone(self, time_zone):
        """Sets the time_zone of this ApiKeyCurrent.

        Display name of the APIKey's time zone, e.g. America/New_York. Searchable as String.  # noqa: E501

        :param time_zone: The time_zone of this ApiKeyCurrent.  # noqa: E501
        :type: str
        """

        self._time_zone = time_zone

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

        If true, the APIKey can be used to authenticate. If false, the APIKey is locked out. Searchable as Boolean.  # noqa: E501

        :return: The active of this ApiKeyCurrent.  # noqa: E501
        :rtype: bool
        """
        return self._active

    @active.setter
    def active(self, active):
        """Sets the active of this ApiKeyCurrent.

        If true, the APIKey can be used to authenticate. If false, the APIKey is locked out. Searchable as Boolean.  # noqa: E501

        :param active: The active of this ApiKeyCurrent.  # noqa: E501
        :type: bool
        """

        self._active = active

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

        Timestamp of the APIKey's creation, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :return: The created of this ApiKeyCurrent.  # noqa: E501
        :rtype: int
        """
        return self._created

    @created.setter
    def created(self, created):
        """Sets the created of this ApiKeyCurrent.

        Timestamp of the APIKey's creation, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :param created: The created of this ApiKeyCurrent.  # noqa: E501
        :type: int
        """

        self._created = created

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

        Timestamp of the APIKey's last successful authentication, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :return: The last_sign_in of this ApiKeyCurrent.  # noqa: E501
        :rtype: int
        """
        return self._last_sign_in

    @last_sign_in.setter
    def last_sign_in(self, last_sign_in):
        """Sets the last_sign_in of this ApiKeyCurrent.

        Timestamp of the APIKey's last successful authentication, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :param last_sign_in: The last_sign_in of this ApiKeyCurrent.  # noqa: E501
        :type: int
        """

        self._last_sign_in = last_sign_in

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

        Timestamp of when a locked out APIKey will be unlocked, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :return: The unlock_time of this ApiKeyCurrent.  # noqa: E501
        :rtype: int
        """
        return self._unlock_time

    @unlock_time.setter
    def unlock_time(self, unlock_time):
        """Sets the unlock_time of this ApiKeyCurrent.

        Timestamp of when a locked out APIKey will be unlocked, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :param unlock_time: The unlock_time of this ApiKeyCurrent.  # noqa: E501
        :type: int
        """

        self._unlock_time = unlock_time

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

        Number of unsuccessful authentication attempts made since the last successful authentication. Searchable as Numeric.  # noqa: E501

        :return: The unsuccessful_sign_in_attempts of this ApiKeyCurrent.  # noqa: E501
        :rtype: int
        """
        return self._unsuccessful_sign_in_attempts

    @unsuccessful_sign_in_attempts.setter
    def unsuccessful_sign_in_attempts(self, unsuccessful_sign_in_attempts):
        """Sets the unsuccessful_sign_in_attempts of this ApiKeyCurrent.

        Number of unsuccessful authentication attempts made since the last successful authentication. Searchable as Numeric.  # noqa: E501

        :param unsuccessful_sign_in_attempts: The unsuccessful_sign_in_attempts of this ApiKeyCurrent.  # noqa: E501
        :type: int
        """

        self._unsuccessful_sign_in_attempts = unsuccessful_sign_in_attempts

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

        Timestamp of the APIKey's expiry date, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :return: The expiry_date of this ApiKeyCurrent.  # noqa: E501
        :rtype: int
        """
        return self._expiry_date

    @expiry_date.setter
    def expiry_date(self, expiry_date):
        """Sets the expiry_date of this ApiKeyCurrent.

        Timestamp of the APIKey's expiry date, in milliseconds since epoch. Searchable as Date.  # noqa: E501

        :param expiry_date: The expiry_date of this ApiKeyCurrent.  # noqa: E501
        :type: int
        """

        self._expiry_date = expiry_date

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

        Secret key used to authenticate API requests. Only returned when creating a new APIKey or regenerating the secret key.  # noqa: E501

        :return: The secret_key of this ApiKeyCurrent.  # noqa: E501
        :rtype: str
        """
        return self._secret_key

    @secret_key.setter
    def secret_key(self, secret_key):
        """Sets the secret_key of this ApiKeyCurrent.

        Secret key used to authenticate API requests. Only returned when creating a new APIKey or regenerating the secret key.  # noqa: E501

        :param secret_key: The secret_key of this ApiKeyCurrent.  # noqa: E501
        :type: str
        """

        self._secret_key = secret_key

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

        If true, the APIKey was created by the primary tenant (T0) to authenticate API calls against other tenants' databases. Searchable as Boolean.  # noqa: E501

        :return: The service_account of this ApiKeyCurrent.  # noqa: E501
        :rtype: bool
        """
        return self._service_account

    @service_account.setter
    def service_account(self, service_account):
        """Sets the service_account of this ApiKeyCurrent.

        If true, the APIKey was created by the primary tenant (T0) to authenticate API calls against other tenants' databases. Searchable as Boolean.  # noqa: E501

        :param service_account: The service_account of this ApiKeyCurrent.  # noqa: E501
        :type: bool
        """

        self._service_account = service_account

    @property
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



