ruạṛ
a N��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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zd,d-� Zd.d/� Z d0d1� Z!d2S )3�DatabaseConnectionStringProfilez� The connection string profile to allow clients to group, filter and select connection string values based on structured metadata. �HIGH�MEDIUM�LOW�TP�TPURGENT�TCP�TCPS�SERVER�MUTUAL�FQDN�IP�DIRECT�REDIRECT�LONG� EZCONNECT� EZCONNECTPLUSc K sd ddddddddd�| _ ddddddd d d�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )a� Initializes a new DatabaseConnectionStringProfile object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this DatabaseConnectionStringProfile. :type display_name: str :param value: The value to assign to the value property of this DatabaseConnectionStringProfile. :type value: str :param consumer_group: The value to assign to the consumer_group property of this DatabaseConnectionStringProfile. Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "TP", "TPURGENT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type consumer_group: str :param protocol: The value to assign to the protocol property of this DatabaseConnectionStringProfile. Allowed values for this property are: "TCP", "TCPS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type protocol: str :param tls_authentication: The value to assign to the tls_authentication property of this DatabaseConnectionStringProfile. Allowed values for this property are: "SERVER", "MUTUAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type tls_authentication: str :param host_format: The value to assign to the host_format property of this DatabaseConnectionStringProfile. Allowed values for this property are: "FQDN", "IP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type host_format: str :param session_mode: The value to assign to the session_mode property of this DatabaseConnectionStringProfile. Allowed values for this property are: "DIRECT", "REDIRECT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type session_mode: str :param syntax_format: The value to assign to the syntax_format property of this DatabaseConnectionStringProfile. Allowed values for this property are: "LONG", "EZCONNECT", "EZCONNECTPLUS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type syntax_format: str �str)�display_name�value�consumer_group�protocol�tls_authentication�host_format�session_mode� syntax_format�displayNamer � consumerGroupr �tlsAuthentication� hostFormat�sessionMode�syntaxFormatN) � swagger_types� attribute_map� _display_name�_value�_consumer_group� _protocol�_tls_authentication�_host_format� _session_mode�_syntax_format)�self�kwargs� r2 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/database_connection_string_profile.py�__init__P s4 3��z(DatabaseConnectionStringProfile.__init__c C s | j S )z� **[Required]** Gets the display_name of this DatabaseConnectionStringProfile. A user-friendly name for the connection. :return: The display_name of this DatabaseConnectionStringProfile. :rtype: str �r( �r0 r2 r2 r3 r � s z,DatabaseConnectionStringProfile.display_namec C s || _ dS )z� Sets the display_name of this DatabaseConnectionStringProfile. A user-friendly name for the connection. :param display_name: The display_name of this DatabaseConnectionStringProfile. :type: str Nr5 )r0 r r2 r2 r3 r � s c C s | j S )z� **[Required]** Gets the value of this DatabaseConnectionStringProfile. Connection string value. :return: The value of this DatabaseConnectionStringProfile. :rtype: str �r) r6 r2 r2 r3 r � s z%DatabaseConnectionStringProfile.valuec C s || _ dS )z� Sets the value of this DatabaseConnectionStringProfile. Connection string value. :param value: The value of this DatabaseConnectionStringProfile. :type: str Nr7 )r0 r r2 r2 r3 r � s c C s | j S )a� Gets the consumer_group of this DatabaseConnectionStringProfile. Consumer group used by the connection. Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "TP", "TPURGENT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The consumer_group of this DatabaseConnectionStringProfile. :rtype: str )r* r6 r2 r2 r3 r � s z.DatabaseConnectionStringProfile.consumer_groupc C s g d�}t ||�sd}|| _dS )z� Sets the consumer_group of this DatabaseConnectionStringProfile. Consumer group used by the connection. :param consumer_group: The consumer_group of this DatabaseConnectionStringProfile. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r* )r0 r �allowed_valuesr2 r2 r3 r � s c C s | j S )a� **[Required]** Gets the protocol of this DatabaseConnectionStringProfile. Protocol used by the connection. Allowed values for this property are: "TCP", "TCPS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The protocol of this DatabaseConnectionStringProfile. :rtype: str )r+ r6 r2 r2 r3 r � s z(DatabaseConnectionStringProfile.protocolc C s ddg}t ||�sd}|| _dS )z� Sets the protocol of this DatabaseConnectionStringProfile. Protocol used by the connection. :param protocol: The protocol of this DatabaseConnectionStringProfile. :type: str r r r8 N)r r+ )r0 r r9 r2 r2 r3 r � s c C s | j S )a� Gets the tls_authentication of this DatabaseConnectionStringProfile. Specifies whether the TLS handshake is using one-way (`SERVER`) or mutual (`MUTUAL`) authentication. Allowed values for this property are: "SERVER", "MUTUAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The tls_authentication of this DatabaseConnectionStringProfile. :rtype: str )r, r6 r2 r2 r3 r s z2DatabaseConnectionStringProfile.tls_authenticationc C s ddg}t ||�sd}|| _dS )a; Sets the tls_authentication of this DatabaseConnectionStringProfile. Specifies whether the TLS handshake is using one-way (`SERVER`) or mutual (`MUTUAL`) authentication. :param tls_authentication: The tls_authentication of this DatabaseConnectionStringProfile. :type: str r r r8 N)r r, )r0 r r9 r2 r2 r3 r s c C s | j S )a� **[Required]** Gets the host_format of this DatabaseConnectionStringProfile. Host format used in connection string. Allowed values for this property are: "FQDN", "IP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The host_format of this DatabaseConnectionStringProfile. :rtype: str )r- r6 r2 r2 r3 r + s z+DatabaseConnectionStringProfile.host_formatc C s ddg}t ||�sd}|| _dS )z� Sets the host_format of this DatabaseConnectionStringProfile. Host format used in connection string. :param host_format: The host_format of this DatabaseConnectionStringProfile. :type: str r r r8 N)r r- )r0 r r9 r2 r2 r3 r : s c C s | j S )a~ **[Required]** Gets the session_mode of this DatabaseConnectionStringProfile. Specifies whether the listener performs a direct hand-off of the session, or redirects the session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use `DIRECT` for direct hand-offs. Use `REDIRECT` to redirect the session. Allowed values for this property are: "DIRECT", "REDIRECT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The session_mode of this DatabaseConnectionStringProfile. :rtype: str )r. r6 r2 r2 r3 r I s z,DatabaseConnectionStringProfile.session_modec C s ddg}t ||�sd}|| _dS )a� Sets the session_mode of this DatabaseConnectionStringProfile. Specifies whether the listener performs a direct hand-off of the session, or redirects the session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use `DIRECT` for direct hand-offs. Use `REDIRECT` to redirect the session. :param session_mode: The session_mode of this DatabaseConnectionStringProfile. :type: str r r r8 N)r r. )r0 r r9 r2 r2 r3 r X s c C s | j S )a| **[Required]** Gets the syntax_format of this DatabaseConnectionStringProfile. Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format. Allowed values for this property are: "LONG", "EZCONNECT", "EZCONNECTPLUS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The syntax_format of this DatabaseConnectionStringProfile. :rtype: str )r/ r6 r2 r2 r3 r g s z-DatabaseConnectionStringProfile.syntax_formatc C s g d�}t ||�sd}|| _dS )a� Sets the syntax_format of this DatabaseConnectionStringProfile. Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format. :param syntax_format: The syntax_format of this DatabaseConnectionStringProfile. :type: str )r r r r8 N)r r/ )r0 r r9 r2 r2 r3 r w s c C s t | �S �N)r r6 r2 r2 r3 �__repr__� s z(DatabaseConnectionStringProfile.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r0 �otherr2 r2 r3 �__eq__� s z&DatabaseConnectionStringProfile.__eq__c C s | |k S r: r2 r= r2 r2 r3 �__ne__� s z&DatabaseConnectionStringProfile.__ne__N)"�__name__� __module__�__qualname__�__doc__�CONSUMER_GROUP_HIGH�CONSUMER_GROUP_MEDIUM�CONSUMER_GROUP_LOW�CONSUMER_GROUP_TP�CONSUMER_GROUP_TPURGENT�PROTOCOL_TCP� PROTOCOL_TCPS�TLS_AUTHENTICATION_SERVER�TLS_AUTHENTICATION_MUTUAL�HOST_FORMAT_FQDN�HOST_FORMAT_IP�SESSION_MODE_DIRECT�SESSION_MODE_REDIRECT�SYNTAX_FORMAT_LONG�SYNTAX_FORMAT_EZCONNECT�SYNTAX_FORMAT_EZCONNECTPLUSr4 �propertyr �setterr r r r r r r r; r? r@ r2 r2 r2 r3 r sj Q r N)�oci.utilr r r �oci.decoratorsr �objectr r2 r2 r2 r3 �<module> s
cải xoăn