
    ~i                     J    d Z ddlZddlZddlZddlmZ  G d de          ZdS )z
    edx

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
    N)Configurationc                      e Zd ZdZ	 dddddddZddddd	d
dZddZed             Zej	        d             Zed             Z
e
j	        d             Z
ed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zd Zd Zd Zd Zd ZdS )CreateVirtualInterfaceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strint)dxp_instance_idlocal_ipmax_bandwidthnamepeer_ipvlan_idDXPInstanceIdLocalIPMaxBandwidthNamePeerIPVlanIdNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        || _	        || _
        || _        || _        || _        || _        dS )z:CreateVirtualInterfaceRequest - a model defined in SwaggerN)r   _configuration_dxp_instance_id	_local_ip_max_bandwidth_name_peer_ip_vlan_iddiscriminatorr   r	   r
   r   r   r   )selfr   r	   r
   r   r   r   r   s           /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkedx/models/create_virtual_interface_request.py__init__z&CreateVirtualInterfaceRequest.__init__5   s}    !*__N, $"
!. *	    c                     | j         S )zGets the dxp_instance_id of this CreateVirtualInterfaceRequest.  # noqa: E501


        :return: The dxp_instance_id of this CreateVirtualInterfaceRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   z-CreateVirtualInterfaceRequest.dxp_instance_idJ   s     $$r    c                 N    | j         j        r|t          d          || _        dS )zSets the dxp_instance_id of this CreateVirtualInterfaceRequest.


        :param dxp_instance_id: The dxp_instance_id of this CreateVirtualInterfaceRequest.  # noqa: E501
        :type: str
        Nz7Invalid value for `dxp_instance_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   z-CreateVirtualInterfaceRequest.dxp_instance_idT   s5     5 	X/:QVWWW /r    c                     | j         S )zGets the local_ip of this CreateVirtualInterfaceRequest.  # noqa: E501


        :return: The local_ip of this CreateVirtualInterfaceRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r	   z&CreateVirtualInterfaceRequest.local_ipa   s     ~r    c                 N    | j         j        r|t          d          || _        dS )zSets the local_ip of this CreateVirtualInterfaceRequest.


        :param local_ip: The local_ip of this CreateVirtualInterfaceRequest.  # noqa: E501
        :type: str
        Nz0Invalid value for `local_ip`, must not be `None`)r   r$   r%   r   )r   r	   s     r   r	   z&CreateVirtualInterfaceRequest.local_ipk   s2     5 	Q(:JOPPP!r    c                     | j         S )zGets the max_bandwidth of this CreateVirtualInterfaceRequest.  # noqa: E501


        :return: The max_bandwidth of this CreateVirtualInterfaceRequest.  # noqa: E501
        :rtype: int
        )r   r"   s    r   r
   z+CreateVirtualInterfaceRequest.max_bandwidthx   s     ""r    c                 N    | j         j        r|t          d          || _        dS )zSets the max_bandwidth of this CreateVirtualInterfaceRequest.


        :param max_bandwidth: The max_bandwidth of this CreateVirtualInterfaceRequest.  # noqa: E501
        :type: int
        Nz5Invalid value for `max_bandwidth`, must not be `None`)r   r$   r%   r   )r   r
   s     r   r
   z+CreateVirtualInterfaceRequest.max_bandwidth   s5     5 	V-:OTUUU+r    c                     | j         S )zGets the name of this CreateVirtualInterfaceRequest.  # noqa: E501


        :return: The name of this CreateVirtualInterfaceRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r   z"CreateVirtualInterfaceRequest.name   s     zr    c                 N    | j         j        r|t          d          || _        dS )zSets the name of this CreateVirtualInterfaceRequest.


        :param name: The name of this CreateVirtualInterfaceRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`)r   r$   r%   r   )r   r   s     r   r   z"CreateVirtualInterfaceRequest.name   s1     5 	M$,KLLL


r    c                     | j         S )zGets the peer_ip of this CreateVirtualInterfaceRequest.  # noqa: E501


        :return: The peer_ip of this CreateVirtualInterfaceRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r   z%CreateVirtualInterfaceRequest.peer_ip        }r    c                 N    | j         j        r|t          d          || _        dS )zSets the peer_ip of this CreateVirtualInterfaceRequest.


        :param peer_ip: The peer_ip of this CreateVirtualInterfaceRequest.  # noqa: E501
        :type: str
        Nz/Invalid value for `peer_ip`, must not be `None`)r   r$   r%   r   )r   r   s     r   r   z%CreateVirtualInterfaceRequest.peer_ip   1     5 	P'/NOOOr    c                     | j         S )zGets the vlan_id of this CreateVirtualInterfaceRequest.  # noqa: E501


        :return: The vlan_id of this CreateVirtualInterfaceRequest.  # noqa: E501
        :rtype: int
        )r   r"   s    r   r   z%CreateVirtualInterfaceRequest.vlan_id   r-   r    c                 N    | j         j        r|t          d          || _        dS )zSets the vlan_id of this CreateVirtualInterfaceRequest.


        :param vlan_id: The vlan_id of this CreateVirtualInterfaceRequest.  # noqa: E501
        :type: int
        Nz/Invalid value for `vlan_id`, must not be `None`)r   r$   r%   r   )r   r   s     r   r   z%CreateVirtualInterfaceRequest.vlan_id   r/   r    c                 4   i }t          j        | j                  D ]\  }}t          | |          }t	          |t
                    r"t          t          d |                    ||<   Lt          |d          r|                                ||<   tt	          |t                    r4t          t          d |
                                                    ||<   |||<   t          t          t                    r| 
                                D ]
\  }}|||<   |S )z&Returns the model properties as a dictc                 N    t          | d          r|                                 n| S )Nto_dicthasattrr4   )xs    r   <lambda>z7CreateVirtualInterfaceRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r    r4   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r4   r   r5   )items    r   r8   z7CreateVirtualInterfaceRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r    )six	iteritemsswagger_typesgetattr
isinstancelistmapr6   r4   dictitems
issubclassr   )r   resultattr_valuekeys         r   r4   z%CreateVirtualInterfaceRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t3T:: 	$"jjll $ $
U#sr    c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr4   r"   s    r   to_strz$CreateVirtualInterfaceRequest.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rN   r"   s    r   __repr__z&CreateVirtualInterfaceRequest.__repr__   s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr@   r   r4   r   others     r   __eq__z$CreateVirtualInterfaceRequest.__eq__   s5    %!>?? 	5||~~00r    c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrR   rS   s     r   __ne__z$CreateVirtualInterfaceRequest.__ne__   s5    %!>?? 	4||~~00r    )NNNNNNN)__name__
__module____qualname____doc__r>   attribute_mapr   propertyr   setterr	   r
   r   r   r   r4   rN   rP   rU   rW    r    r   r   r      s        
 ! M +' M   * % % X% 
0 
0 
0   X _
" 
" _
" # # X# 
, 
, 
,   X 
[
 
 [
   X ^
  
  ^
    X ^
  
  ^
   6. . .  1 1 11 1 1 1 1r    r   )r[   rL   rer<   volcenginesdkcore.configurationr   objectr   r_   r    r   <module>rc      s|      				 



 9 9 9 9 9 9m1 m1 m1 m1 m1F m1 m1 m1 m1 m1r    