
    ~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 )a   
    directconnect

    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 )CreateBgpPeerRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strint)auth_keybgp_peer_namedescription
ip_version
remote_asnvirtual_interface_idAuthKeyBgpPeerNameDescription	IpVersion	RemoteAsnVirtualInterfaceIdNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        ||| _        ||| _        || _        || _        dS )z1CreateBgpPeerRequest - a model defined in SwaggerN)r   _configuration	_auth_key_bgp_peer_name_description_ip_version_remote_asn_virtual_interface_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/volcenginesdkdirectconnect/models/create_bgp_peer_request.py__init__zCreateBgpPeerRequest.__init__5   s    !*__N," %)"!$DM$!.D"*D!(DO$$8!!!    c                     | j         S )zGets the auth_key of this CreateBgpPeerRequest.  # noqa: E501


        :return: The auth_key of this CreateBgpPeerRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zCreateBgpPeerRequest.auth_keyN   s     ~r    c                     || _         dS )zSets the auth_key of this CreateBgpPeerRequest.


        :param auth_key: The auth_key of this CreateBgpPeerRequest.  # noqa: E501
        :type: str
        Nr"   )r   r   s     r   r   zCreateBgpPeerRequest.auth_keyX   s     "r    c                     | j         S )zGets the bgp_peer_name of this CreateBgpPeerRequest.  # noqa: E501


        :return: The bgp_peer_name of this CreateBgpPeerRequest.  # noqa: E501
        :rtype: str
        )r   r#   s    r   r	   z"CreateBgpPeerRequest.bgp_peer_namec   s     ""r    c                     | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the bgp_peer_name of this CreateBgpPeerRequest.


        :param bgp_peer_name: The bgp_peer_name of this CreateBgpPeerRequest.  # noqa: E501
        :type: str
        N   zMInvalid value for `bgp_peer_name`, length must be less than or equal to `128`   zNInvalid value for `bgp_peer_name`, length must be greater than or equal to `1`)r   client_side_validationlen
ValueErrorr   )r   r	   s     r   r	   z"CreateBgpPeerRequest.bgp_peer_namem   s~     6 	n)c-.@.@3.F.Flmmm6 	o)c-.@.@1.D.Dmnnn+r    c                     | j         S )zGets the description of this CreateBgpPeerRequest.  # noqa: E501


        :return: The description of this CreateBgpPeerRequest.  # noqa: E501
        :rtype: str
        )r   r#   s    r   r
   z CreateBgpPeerRequest.description~   s       r    c                     | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the description of this CreateBgpPeerRequest.


        :param description: The description of this CreateBgpPeerRequest.  # noqa: E501
        :type: str
        N   zKInvalid value for `description`, length must be less than or equal to `255`r(   zLInvalid value for `description`, length must be greater than or equal to `1`)r   r)   r*   r+   r   )r   r
   s     r   r
   z CreateBgpPeerRequest.description   s~     6 	l'C,<,<s,B,Bjkkk6 	m'C,<,<q,@,@klll'r    c                     | j         S )zGets the ip_version of this CreateBgpPeerRequest.  # noqa: E501


        :return: The ip_version of this CreateBgpPeerRequest.  # noqa: E501
        :rtype: str
        r   r#   s    r   r   zCreateBgpPeerRequest.ip_version        r    c                     || _         dS )zSets the ip_version of this CreateBgpPeerRequest.


        :param ip_version: The ip_version of this CreateBgpPeerRequest.  # noqa: E501
        :type: str
        Nr0   )r   r   s     r   r   zCreateBgpPeerRequest.ip_version   s     &r    c                     | j         S )zGets the remote_asn of this CreateBgpPeerRequest.  # noqa: E501


        :return: The remote_asn of this CreateBgpPeerRequest.  # noqa: E501
        :rtype: int
        )r   r#   s    r   r   zCreateBgpPeerRequest.remote_asn   r1   r    c                 N    | j         j        r|t          d          || _        dS )zSets the remote_asn of this CreateBgpPeerRequest.


        :param remote_asn: The remote_asn of this CreateBgpPeerRequest.  # noqa: E501
        :type: int
        Nz2Invalid value for `remote_asn`, must not be `None`)r   r)   r+   r   )r   r   s     r   r   zCreateBgpPeerRequest.remote_asn   s5     5 	S*:LQRRR%r    c                     | j         S )zGets the virtual_interface_id of this CreateBgpPeerRequest.  # noqa: E501


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


        :param virtual_interface_id: The virtual_interface_id of this CreateBgpPeerRequest.  # noqa: E501
        :type: str
        Nz<Invalid value for `virtual_interface_id`, must not be `None`)r   r)   r+   r   )r   r   s     r   r   z)CreateBgpPeerRequest.virtual_interface_id   s6     5 	]:N:V[\\\%9"""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hasattrr9   )xs    r   <lambda>z.CreateBgpPeerRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r    r9   c                 v    t          | d         d          r"| d         | d                                         fn| S )Nr(   r9   r   r:   )items    r   r=   z.CreateBgpPeerRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r    )six	iteritemsswagger_typesgetattr
isinstancelistmapr;   r9   dictitems
issubclassr   )r   resultattr_valuekeys         r   r9   zCreateBgpPeerRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t*D11 	$"jjll $ $
U#sr    c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr9   r#   s    r   to_strzCreateBgpPeerRequest.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rR   r#   s    r   __repr__zCreateBgpPeerRequest.__repr__   s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrD   r   r9   r   others     r   __eq__zCreateBgpPeerRequest.__eq__   s5    %!566 	5||~~00r    c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrV   rW   s     r   __ne__zCreateBgpPeerRequest.__ne__  s5    %!566 	4||~~00r    )NNNNNNN)__name__
__module____qualname____doc__rB   attribute_mapr   propertyr   setterr	   r
   r   r   r   r9   rR   rT   rY   r[    r    r   r   r      s        
  % M &$!! 4 M9 9 9 92   X _" " _" # # X# , , ,  ! ! X! ( ( (      X  & & &     X  
& 
& 
& * * X*  
: 
: ! 
:  6. . .  1 1 11 1 1 1 1r    r   )r_   rP   rer@   volcenginesdkcore.configurationr   objectr   rc   r    r   <module>rg      s|      				 



 9 9 9 9 9 9u1 u1 u1 u1 u16 u1 u1 u1 u1 u1r    