ruạṛ
a ���f! � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�NetworkChannel� )�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 )�PrivateEndpointChannelzA Specifies the configuration to access private endpoint. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a� Initializes a new PrivateEndpointChannel object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.PrivateEndpointChannel.network_channel_type` attribute of this class is ``PRIVATE_ENDPOINT_CHANNEL`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param network_channel_type: The value to assign to the network_channel_type property of this PrivateEndpointChannel. Allowed values for this property are: "PRIVATE_ENDPOINT_CHANNEL", "SERVICE_VNIC_CHANNEL" :type network_channel_type: str :param subnet_id: The value to assign to the subnet_id property of this PrivateEndpointChannel. :type subnet_id: str :param nsg_ids: The value to assign to the nsg_ids property of this PrivateEndpointChannel. :type nsg_ids: list[str] �strz list[str])Znetwork_channel_type� subnet_id�nsg_idsZnetworkChannelTypeZsubnetIdZnsgIdsNZPRIVATE_ENDPOINT_CHANNEL)Z swagger_typesZ attribute_mapZ_network_channel_type� _subnet_id�_nsg_ids)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/devops/models/private_endpoint_channel.py�__init__ s ��zPrivateEndpointChannel.__init__c C s | j S )a **[Required]** Gets the subnet_id of this PrivateEndpointChannel. The OCID of the subnet where VNIC resources will be created for private endpoint. :return: The subnet_id of this PrivateEndpointChannel. :rtype: str �r �r r r r r 7 s z PrivateEndpointChannel.subnet_idc C s || _ dS )z� Sets the subnet_id of this PrivateEndpointChannel. The OCID of the subnet where VNIC resources will be created for private endpoint. :param subnet_id: The subnet_id of this PrivateEndpointChannel. :type: str Nr )r r r r r r C s c C s | j S )z� Gets the nsg_ids of this PrivateEndpointChannel. An array of network security group OCIDs. :return: The nsg_ids of this PrivateEndpointChannel. :rtype: list[str] �r r r r r r O s zPrivateEndpointChannel.nsg_idsc C s || _ dS )z� Sets the nsg_ids of this PrivateEndpointChannel. An array of network security group OCIDs. :param nsg_ids: The nsg_ids of this PrivateEndpointChannel. :type: list[str] Nr )r r r r r r [ s c C s t | �S �N)r r r r r �__repr__g s zPrivateEndpointChannel.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__j s zPrivateEndpointChannel.__eq__c C s | |k S r r r r r r �__ne__p s zPrivateEndpointChannel.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s % r N) Znetwork_channelr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn