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 ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd� ZdS ) �VmNetworkDetailsz� Details of the client or backup networks in an Exadata VM cluster network. Applies to Exadata Cloud@Customer instances only. �CLIENT�BACKUP�DISASTER_RECOVERYc K sP ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new VmNetworkDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param vlan_id: The value to assign to the vlan_id property of this VmNetworkDetails. :type vlan_id: str :param network_type: The value to assign to the network_type property of this VmNetworkDetails. Allowed values for this property are: "CLIENT", "BACKUP", "DISASTER_RECOVERY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type network_type: str :param netmask: The value to assign to the netmask property of this VmNetworkDetails. :type netmask: str :param gateway: The value to assign to the gateway property of this VmNetworkDetails. :type gateway: str :param domain_name: The value to assign to the domain_name property of this VmNetworkDetails. :type domain_name: str :param nodes: The value to assign to the nodes property of this VmNetworkDetails. :type nodes: list[oci.database.models.NodeDetails] �strzlist[NodeDetails])�vlan_id�network_type�netmask�gateway�domain_name�nodesZvlanIdZnetworkTyper r Z domainNamer N)Z swagger_typesZ attribute_map�_vlan_id� _network_type�_netmask�_gateway�_domain_name�_nodes)�self�kwargs� r �J/usr/lib/python3.9/site-packages/oci/database/models/vm_network_details.py�__init__ s( !� � zVmNetworkDetails.__init__c C s | j S )z� Gets the vlan_id of this VmNetworkDetails. The network VLAN ID. :return: The vlan_id of this VmNetworkDetails. :rtype: str �r �r r r r r W s zVmNetworkDetails.vlan_idc C s || _ dS )z� Sets the vlan_id of this VmNetworkDetails. The network VLAN ID. :param vlan_id: The vlan_id of this VmNetworkDetails. :type: str Nr )r r r r r r c s c C s | j S )a� **[Required]** Gets the network_type of this VmNetworkDetails. The network type. Allowed values for this property are: "CLIENT", "BACKUP", "DISASTER_RECOVERY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The network_type of this VmNetworkDetails. :rtype: str )r r r r r r o s zVmNetworkDetails.network_typec C s g d�}t ||�sd}|| _dS )z� Sets the network_type of this VmNetworkDetails. The network type. :param network_type: The network_type of this VmNetworkDetails. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r ~ s c C s | j S )z� Gets the netmask of this VmNetworkDetails. The network netmask. :return: The netmask of this VmNetworkDetails. :rtype: str �r r r r r r � s zVmNetworkDetails.netmaskc C s || _ dS )z� Sets the netmask of this VmNetworkDetails. The network netmask. :param netmask: The netmask of this VmNetworkDetails. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the gateway of this VmNetworkDetails. The network gateway. :return: The gateway of this VmNetworkDetails. :rtype: str �r r r r r r � s zVmNetworkDetails.gatewayc C s || _ dS )z� Sets the gateway of this VmNetworkDetails. The network gateway. :param gateway: The gateway of this VmNetworkDetails. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the domain_name of this VmNetworkDetails. The network domain name. :return: The domain_name of this VmNetworkDetails. :rtype: str �r r r r r r � s zVmNetworkDetails.domain_namec C s || _ dS )z� Sets the domain_name of this VmNetworkDetails. The network domain name. :param domain_name: The domain_name of this VmNetworkDetails. :type: str Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the nodes of this VmNetworkDetails. The list of node details. :return: The nodes of this VmNetworkDetails. :rtype: list[oci.database.models.NodeDetails] �r r r r r r � s zVmNetworkDetails.nodesc C s || _ dS )z� Sets the nodes of this VmNetworkDetails. The list of node details. :param nodes: The nodes of this VmNetworkDetails. :type: list[oci.database.models.NodeDetails] Nr! )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zVmNetworkDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zVmNetworkDetails.__eq__c C s | |k S r"