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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�DynamicAuthenticationPolicyas Policy on how to authenticate requests when multiple authentication options are configured for a deployment. For an incoming request, the value of selector specified under selectionSource will be matched against the keys specified for each authentication server. The authentication server whose key matches the value of selector will be used for authentication. c K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new DynamicAuthenticationPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param selection_source: The value to assign to the selection_source property of this DynamicAuthenticationPolicy. :type selection_source: oci.apigateway.models.SelectionSourcePolicy :param authentication_servers: The value to assign to the authentication_servers property of this DynamicAuthenticationPolicy. :type authentication_servers: list[oci.apigateway.models.AuthenticationServerPolicy] ZSelectionSourcePolicyz list[AuthenticationServerPolicy])�selection_source�authentication_serversZselectionSourceZauthenticationServersN)Z swagger_typesZ attribute_map�_selection_source�_authentication_servers)�self�kwargs� r �W/usr/lib/python3.9/site-packages/oci/apigateway/models/dynamic_authentication_policy.py�__init__ s ��z$DynamicAuthenticationPolicy.__init__c C s | j S )z� **[Required]** Gets the selection_source of this DynamicAuthenticationPolicy. :return: The selection_source of this DynamicAuthenticationPolicy. :rtype: oci.apigateway.models.SelectionSourcePolicy �r �r r r r r - s z,DynamicAuthenticationPolicy.selection_sourcec C s || _ dS )z� Sets the selection_source of this DynamicAuthenticationPolicy. :param selection_source: The selection_source of this DynamicAuthenticationPolicy. :type: oci.apigateway.models.SelectionSourcePolicy Nr )r r r r r r 7 s c C s | j S )aT **[Required]** Gets the authentication_servers of this DynamicAuthenticationPolicy. List of authentication servers to choose from during dynamic authentication. :return: The authentication_servers of this DynamicAuthenticationPolicy. :rtype: list[oci.apigateway.models.AuthenticationServerPolicy] �r r r r r r A s z2DynamicAuthenticationPolicy.authentication_serversc C s || _ dS )aZ Sets the authentication_servers of this DynamicAuthenticationPolicy. List of authentication servers to choose from during dynamic authentication. :param authentication_servers: The authentication_servers of this DynamicAuthenticationPolicy. :type: list[oci.apigateway.models.AuthenticationServerPolicy] Nr )r r r r r r M s c C s t | �S �N)r r r r r �__repr__Y s z$DynamicAuthenticationPolicy.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__\ s z"DynamicAuthenticationPolicy.__eq__c C s | |k S r r r r r r �__ne__b s z"DynamicAuthenticationPolicy.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn