o
    ɶd                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s   e Zd ZdZdd Zedd Zejdd Zedd Zejd	d Zed
d Z	e	jdd Z	edd Z
e
jdd Z
edd Zejdd Zedd Zejdd Zdd Zdd Zdd ZdS )Nicz!
    The VNIC configuration.
    c                 K   sP   ddddddd| _ dddddd	d| _d
| _d
| _d
| _d
| _d
| _d
| _d
S )a  
        Initializes a new Nic object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param label:
            The value to assign to the label property of this Nic.
        :type label: str

        :param switch_name:
            The value to assign to the switch_name property of this Nic.
        :type switch_name: str

        :param mac_address:
            The value to assign to the mac_address property of this Nic.
        :type mac_address: str

        :param mac_address_type:
            The value to assign to the mac_address_type property of this Nic.
        :type mac_address_type: str

        :param network_name:
            The value to assign to the network_name property of this Nic.
        :type network_name: str

        :param ip_addresses:
            The value to assign to the ip_addresses property of this Nic.
        :type ip_addresses: list[str]

        strz	list[str])labelswitch_namemac_addressmac_address_typenetwork_nameip_addressesr   Z
switchNameZ
macAddressZmacAddressTypeZnetworkNameZipAddressesN)Zswagger_typesZattribute_map_label_switch_name_mac_address_mac_address_type_network_name_ip_addresses)selfkwargs r   ?usr/lib/python3.10/site-packages/oci/cloud_bridge/models/nic.py__init__   s(   
	
zNic.__init__c                 C      | j S )z
        Gets the label of this Nic.
        Provides a label and summary information for the device.


        :return: The label of this Nic.
        :rtype: str
        r   r   r   r   r   r   I      
z	Nic.labelc                 C   
   || _ dS )z
        Sets the label of this Nic.
        Provides a label and summary information for the device.


        :param label: The label of this Nic.
        :type: str
        Nr   )r   r   r   r   r   r   U      

c                 C   r   )z
        Gets the switch_name of this Nic.
        Switch name.


        :return: The switch_name of this Nic.
        :rtype: str
        r   r   r   r   r   r	   a   r   zNic.switch_namec                 C   r   )z
        Sets the switch_name of this Nic.
        Switch name.


        :param switch_name: The switch_name of this Nic.
        :type: str
        Nr   )r   r	   r   r   r   r	   m   r   c                 C   r   )z
        Gets the mac_address of this Nic.
        Mac address of the VM.


        :return: The mac_address of this Nic.
        :rtype: str
        r   r   r   r   r   r
   y   r   zNic.mac_addressc                 C   r   )z
        Sets the mac_address of this Nic.
        Mac address of the VM.


        :param mac_address: The mac_address of this Nic.
        :type: str
        Nr    )r   r
   r   r   r   r
      r   c                 C   r   )z
        Gets the mac_address_type of this Nic.
        Mac address type.


        :return: The mac_address_type of this Nic.
        :rtype: str
        r   r   r   r   r   r      r   zNic.mac_address_typec                 C   r   )z
        Sets the mac_address_type of this Nic.
        Mac address type.


        :param mac_address_type: The mac_address_type of this Nic.
        :type: str
        Nr!   )r   r   r   r   r   r      r   c                 C   r   )z
        Gets the network_name of this Nic.
        Network name.


        :return: The network_name of this Nic.
        :rtype: str
        r   r   r   r   r   r      r   zNic.network_namec                 C   r   )z
        Sets the network_name of this Nic.
        Network name.


        :param network_name: The network_name of this Nic.
        :type: str
        Nr"   )r   r   r   r   r   r      r   c                 C   r   )z
        Gets the ip_addresses of this Nic.
        List of IP addresses.


        :return: The ip_addresses of this Nic.
        :rtype: list[str]
        r   r   r   r   r   r      r   zNic.ip_addressesc                 C   r   )z
        Sets the ip_addresses of this Nic.
        List of IP addresses.


        :param ip_addresses: The ip_addresses of this Nic.
        :type: list[str]
        Nr#   )r   r   r   r   r   r      r   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zNic.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   z
Nic.__eq__c                 C   s
   | |k S r$   r   r'   r   r   r   __ne__   s   
z
Nic.__ne__N)__name__
__module____qualname____doc__r   propertyr   setterr	   r
   r   r   r   r%   r)   r*   r   r   r   r   r      s<    7











r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   