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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zdd� Zdd� Zd d!� Zd"S )#�CreateNetworkSourceDetailsz: Properties for creating a network source object. c K sd ddddddddd�| _ ddd d ddd dd�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )a= Initializes a new CreateNetworkSourceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this CreateNetworkSourceDetails. :type compartment_id: str :param name: The value to assign to the name property of this CreateNetworkSourceDetails. :type name: str :param public_source_list: The value to assign to the public_source_list property of this CreateNetworkSourceDetails. :type public_source_list: list[str] :param virtual_source_list: The value to assign to the virtual_source_list property of this CreateNetworkSourceDetails. :type virtual_source_list: list[oci.identity.models.NetworkSourcesVirtualSourceList] :param services: The value to assign to the services property of this CreateNetworkSourceDetails. :type services: list[str] :param description: The value to assign to the description property of this CreateNetworkSourceDetails. :type description: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateNetworkSourceDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateNetworkSourceDetails. :type defined_tags: dict(str, dict(str, object)) �strz list[str]z%list[NetworkSourcesVirtualSourceList]zdict(str, str)zdict(str, dict(str, object)))�compartment_id�name�public_source_list�virtual_source_list�services�description� freeform_tags�defined_tagsZ compartmentIdr ZpublicSourceListZvirtualSourceListr r ZfreeformTagsZdefinedTagsN) Z swagger_typesZ attribute_map�_compartment_id�_name�_public_source_list�_virtual_source_list� _services�_description�_freeform_tags� _defined_tags)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/identity/models/create_network_source_details.py�__init__ s4 '��z#CreateNetworkSourceDetails.__init__c C s | j S )a **[Required]** Gets the compartment_id of this CreateNetworkSourceDetails. The OCID of the tenancy (root compartment) containing the network source object. :return: The compartment_id of this CreateNetworkSourceDetails. :rtype: str �r �r r r r r W s z)CreateNetworkSourceDetails.compartment_idc C s || _ dS )a Sets the compartment_id of this CreateNetworkSourceDetails. The OCID of the tenancy (root compartment) containing the network source object. :param compartment_id: The compartment_id of this CreateNetworkSourceDetails. :type: str Nr )r r r r r r c s c C s | j S )aA **[Required]** Gets the name of this CreateNetworkSourceDetails. The name you assign to the network source during creation. The name must be unique across all groups in the tenancy and cannot be changed. :return: The name of this CreateNetworkSourceDetails. :rtype: str �r r r r r r o s zCreateNetworkSourceDetails.namec C s || _ dS )a5 Sets the name of this CreateNetworkSourceDetails. The name you assign to the network source during creation. The name must be unique across all groups in the tenancy and cannot be changed. :param name: The name of this CreateNetworkSourceDetails. :type: str Nr )r r r r r r | s c C s | j S )z� Gets the public_source_list of this CreateNetworkSourceDetails. A list of allowed public IP addresses and CIDR ranges. :return: The public_source_list of this CreateNetworkSourceDetails. :rtype: list[str] �r r r r r r � s z-CreateNetworkSourceDetails.public_source_listc C s || _ dS )a Sets the public_source_list of this CreateNetworkSourceDetails. A list of allowed public IP addresses and CIDR ranges. :param public_source_list: The public_source_list of this CreateNetworkSourceDetails. :type: list[str] Nr )r r r r r r � s c C s | j S )a� Gets the virtual_source_list of this CreateNetworkSourceDetails. A list of allowed VCN OCID and IP range pairs. Example:`"vcnId": "ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID", "ipRanges": [ "129.213.39.0/24" ]` :return: The virtual_source_list of this CreateNetworkSourceDetails. :rtype: list[oci.identity.models.NetworkSourcesVirtualSourceList] �r r r r r r � s z.CreateNetworkSourceDetails.virtual_source_listc C s || _ dS )a� Sets the virtual_source_list of this CreateNetworkSourceDetails. A list of allowed VCN OCID and IP range pairs. Example:`"vcnId": "ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID", "ipRanges": [ "129.213.39.0/24" ]` :param virtual_source_list: The virtual_source_list of this CreateNetworkSourceDetails. :type: list[oci.identity.models.NetworkSourcesVirtualSourceList] Nr! )r r r r r r � s c C s | j S )z� Gets the services of this CreateNetworkSourceDetails. -- The services attribute has no effect and is reserved for use by Oracle. -- :return: The services of this CreateNetworkSourceDetails. :rtype: list[str] �r r r r r r � s z#CreateNetworkSourceDetails.servicesc C s || _ dS )a Sets the services of this CreateNetworkSourceDetails. -- The services attribute has no effect and is reserved for use by Oracle. -- :param services: The services of this CreateNetworkSourceDetails. :type: list[str] Nr"