/
lib
/
python3.9
/
site-packages
/
oci
/
database_tools
/
models
/
__pycache__
/
Upload File
HOME
a ���fB � @ 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 )�"DatabaseToolsAllowedNetworkSourceszw Allow to restrict access to only requests that come from the specified public or virtual source IP addresses. c K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new DatabaseToolsAllowedNetworkSources object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param public_source_list: The value to assign to the public_source_list property of this DatabaseToolsAllowedNetworkSources. :type public_source_list: list[str] :param virtual_source_list: The value to assign to the virtual_source_list property of this DatabaseToolsAllowedNetworkSources. :type virtual_source_list: list[oci.database_tools.models.DatabaseToolsVirtualSource] z list[str]z list[DatabaseToolsVirtualSource])�public_source_list�virtual_source_listZpublicSourceListZvirtualSourceListN)Z swagger_typesZ attribute_map�_public_source_list�_virtual_source_list)�self�kwargs� r �d/usr/lib/python3.9/site-packages/oci/database_tools/models/database_tools_allowed_network_sources.py�__init__ s ��z+DatabaseToolsAllowedNetworkSources.__init__c C s | j S )z� Gets the public_source_list of this DatabaseToolsAllowedNetworkSources. A list of allowed public IPs and CIDR blocks. :return: The public_source_list of this DatabaseToolsAllowedNetworkSources. :rtype: list[str] �r �r r r r r + s z5DatabaseToolsAllowedNetworkSources.public_source_listc C s || _ dS )a Sets the public_source_list of this DatabaseToolsAllowedNetworkSources. A list of allowed public IPs and CIDR blocks. :param public_source_list: The public_source_list of this DatabaseToolsAllowedNetworkSources. :type: list[str] Nr )r r r r r r 7 s c C s | j S )a� Gets the virtual_source_list of this DatabaseToolsAllowedNetworkSources. A list of allowed VCN `OCID`__ and IP ranges pairs. Example:`"vcnId": "ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID", "ipRanges": [ "129.213.39.0/24" ]` __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The virtual_source_list of this DatabaseToolsAllowedNetworkSources. :rtype: list[oci.database_tools.models.DatabaseToolsVirtualSource] �r r r r r r C s z6DatabaseToolsAllowedNetworkSources.virtual_source_listc C s || _ dS )a Sets the virtual_source_list of this DatabaseToolsAllowedNetworkSources. A list of allowed VCN `OCID`__ and IP ranges pairs. Example:`"vcnId": "ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID", "ipRanges": [ "129.213.39.0/24" ]` __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param virtual_source_list: The virtual_source_list of this DatabaseToolsAllowedNetworkSources. :type: list[oci.database_tools.models.DatabaseToolsVirtualSource] Nr )r r r r r r R s c C s t | �S �N)r r r r r �__repr__a s z+DatabaseToolsAllowedNetworkSources.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__d s z)DatabaseToolsAllowedNetworkSources.__eq__c C s | |k S r r r r r r �__ne__j s z)DatabaseToolsAllowedNetworkSources.__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