ruạṛ
a ���f:, � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdZdd� Zedd� �Zejdd� �Zedd � �Z e jd d � �Z edd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd � Zd!d"� Zd#S )$� LdapIdmapzG Mount target details about the LDAP ID mapping configuration. �RFC2307c K sd ddddddddd�| _ dddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS ) a� Initializes a new LdapIdmap object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param schema_type: The value to assign to the schema_type property of this LdapIdmap. Allowed values for this property are: "RFC2307", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type schema_type: str :param cache_refresh_interval_seconds: The value to assign to the cache_refresh_interval_seconds property of this LdapIdmap. :type cache_refresh_interval_seconds: int :param cache_lifetime_seconds: The value to assign to the cache_lifetime_seconds property of this LdapIdmap. :type cache_lifetime_seconds: int :param negative_cache_lifetime_seconds: The value to assign to the negative_cache_lifetime_seconds property of this LdapIdmap. :type negative_cache_lifetime_seconds: int :param user_search_base: The value to assign to the user_search_base property of this LdapIdmap. :type user_search_base: str :param group_search_base: The value to assign to the group_search_base property of this LdapIdmap. :type group_search_base: str :param outbound_connector1_id: The value to assign to the outbound_connector1_id property of this LdapIdmap. :type outbound_connector1_id: str :param outbound_connector2_id: The value to assign to the outbound_connector2_id property of this LdapIdmap. :type outbound_connector2_id: str �str�int)�schema_type�cache_refresh_interval_seconds�cache_lifetime_seconds�negative_cache_lifetime_seconds�user_search_base�group_search_base�outbound_connector1_id�outbound_connector2_idZ schemaTypeZcacheRefreshIntervalSecondsZcacheLifetimeSecondsZnegativeCacheLifetimeSecondsZuserSearchBaseZgroupSearchBaseZoutboundConnector1IdZoutboundConnector2IdN) Z swagger_typesZ attribute_map�_schema_type�_cache_refresh_interval_seconds�_cache_lifetime_seconds� _negative_cache_lifetime_seconds�_user_search_base�_group_search_base�_outbound_connector1_id�_outbound_connector2_id)�self�kwargs� r �F/usr/lib/python3.9/site-packages/oci/file_storage/models/ldap_idmap.py�__init__ s4 )��zLdapIdmap.__init__c C s | j S )aZ Gets the schema_type of this LdapIdmap. Schema type of the LDAP account. Allowed values for this property are: "RFC2307", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The schema_type of this LdapIdmap. :rtype: str )r �r r r r r ] s zLdapIdmap.schema_typec C s dg}t ||�sd}|| _dS )z� Sets the schema_type of this LdapIdmap. Schema type of the LDAP account. :param schema_type: The schema_type of this LdapIdmap. :type: str r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r l s c C s | j S )a0 Gets the cache_refresh_interval_seconds of this LdapIdmap. The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry. :return: The cache_refresh_interval_seconds of this LdapIdmap. :rtype: int �r r r r r r { s z(LdapIdmap.cache_refresh_interval_secondsc C s || _ dS )aM Sets the cache_refresh_interval_seconds of this LdapIdmap. The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry. :param cache_refresh_interval_seconds: The cache_refresh_interval_seconds of this LdapIdmap. :type: int Nr )r r r r r r � s c C s | j S )z� Gets the cache_lifetime_seconds of this LdapIdmap. The maximum amount of time the mount target is allowed to use a cached entry. :return: The cache_lifetime_seconds of this LdapIdmap. :rtype: int �r r r r r r � s z LdapIdmap.cache_lifetime_secondsc C s || _ dS )a Sets the cache_lifetime_seconds of this LdapIdmap. The maximum amount of time the mount target is allowed to use a cached entry. :param cache_lifetime_seconds: The cache_lifetime_seconds of this LdapIdmap. :type: int Nr! )r r r r r r � s c C s | j S )a. Gets the negative_cache_lifetime_seconds of this LdapIdmap. The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration. :return: The negative_cache_lifetime_seconds of this LdapIdmap. :rtype: int �r r r r r r � s z)LdapIdmap.negative_cache_lifetime_secondsc C s || _ dS )aL Sets the negative_cache_lifetime_seconds of this LdapIdmap. The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration. :param negative_cache_lifetime_seconds: The negative_cache_lifetime_seconds of this LdapIdmap. :type: int Nr"