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 ZdZdZdZdZdZdZdZ dd� Z edd� �Zej dd� �Zed d � �Zej dd � �Zedd � �Zej dd � �Zdd� Zdd� Zdd� ZdS )�NetworkBondingModeDetailsze Details of bonding mode for Client and Backup and DR networks of an Exadata infrastructure. � ACTIVE_BACKUP�LACPc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )as Initializes a new NetworkBondingModeDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param client_network_bonding_mode: The value to assign to the client_network_bonding_mode property of this NetworkBondingModeDetails. Allowed values for this property are: "ACTIVE_BACKUP", "LACP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type client_network_bonding_mode: str :param backup_network_bonding_mode: The value to assign to the backup_network_bonding_mode property of this NetworkBondingModeDetails. Allowed values for this property are: "ACTIVE_BACKUP", "LACP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type backup_network_bonding_mode: str :param dr_network_bonding_mode: The value to assign to the dr_network_bonding_mode property of this NetworkBondingModeDetails. Allowed values for this property are: "ACTIVE_BACKUP", "LACP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type dr_network_bonding_mode: str �str)�client_network_bonding_mode�backup_network_bonding_mode�dr_network_bonding_modeZclientNetworkBondingModeZbackupNetworkBondingModeZdrNetworkBondingModeN)Z swagger_typesZ attribute_map�_client_network_bonding_mode�_backup_network_bonding_mode�_dr_network_bonding_mode)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/database/models/network_bonding_mode_details.py�__init__* s ��z"NetworkBondingModeDetails.__init__c C s | j S )a� Gets the client_network_bonding_mode of this NetworkBondingModeDetails. The network bonding mode for the Exadata infrastructure. Allowed values for this property are: "ACTIVE_BACKUP", "LACP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The client_network_bonding_mode of this NetworkBondingModeDetails. :rtype: str )r �r r r r r R s z5NetworkBondingModeDetails.client_network_bonding_modec C s ddg}t ||�sd}|| _dS )a Sets the client_network_bonding_mode of this NetworkBondingModeDetails. The network bonding mode for the Exadata infrastructure. :param client_network_bonding_mode: The client_network_bonding_mode of this NetworkBondingModeDetails. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r a s c C s | j S )a� Gets the backup_network_bonding_mode of this NetworkBondingModeDetails. The network bonding mode for the Exadata infrastructure. Allowed values for this property are: "ACTIVE_BACKUP", "LACP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The backup_network_bonding_mode of this NetworkBondingModeDetails. :rtype: str )r r r r r r p s z5NetworkBondingModeDetails.backup_network_bonding_modec C s ddg}t ||�sd}|| _dS )a Sets the backup_network_bonding_mode of this NetworkBondingModeDetails. The network bonding mode for the Exadata infrastructure. :param backup_network_bonding_mode: The backup_network_bonding_mode of this NetworkBondingModeDetails. :type: str r r r N)r r )r r r r r r r s c C s | j S )a� Gets the dr_network_bonding_mode of this NetworkBondingModeDetails. The network bonding mode for the Exadata infrastructure. Allowed values for this property are: "ACTIVE_BACKUP", "LACP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The dr_network_bonding_mode of this NetworkBondingModeDetails. :rtype: str )r r r r r r � s z1NetworkBondingModeDetails.dr_network_bonding_modec C s ddg}t ||�sd}|| _dS )a Sets the dr_network_bonding_mode of this NetworkBondingModeDetails. The network bonding mode for the Exadata infrastructure. :param dr_network_bonding_mode: The dr_network_bonding_mode of this NetworkBondingModeDetails. :type: str r r r N)r r )r r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z"NetworkBondingModeDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z NetworkBondingModeDetails.__eq__c C s | |k S r r r r r r �__ne__� s z NetworkBondingModeDetails.__ne__N)�__name__� __module__�__qualname__�__doc__Z)CLIENT_NETWORK_BONDING_MODE_ACTIVE_BACKUPZ CLIENT_NETWORK_BONDING_MODE_LACPZ)BACKUP_NETWORK_BONDING_MODE_ACTIVE_BACKUPZ BACKUP_NETWORK_BONDING_MODE_LACPZ%DR_NETWORK_BONDING_MODE_ACTIVE_BACKUPZDR_NETWORK_BONDING_MODE_LACPr �propertyr �setterr r 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