
    ~iT                     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
    aidap

    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                   h   e Zd ZdZ	 ddddddZ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d Zd Zd Zd Zd Zd	S )ModifyVpcSettingsRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    str)	branch_idinternet_protocol	subnet_idvpc_idworkspace_idBranchIdInternetProtocolSubnetIdVpcIdWorkspaceIdNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        || _	        || _
        || _        || _        dS )z5ModifyVpcSettingsRequest - a model defined in SwaggerN)r   _configuration
_branch_id_internet_protocol
_subnet_id_vpc_id_workspace_iddiscriminatorr   r   r	   r
   r   )selfr   r   r	   r
   r   r   s          ~/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkaidap/models/modify_vpc_settings_request.py__init__z!ModifyVpcSettingsRequest.__init__3   sw    !*__N,"&!! &DN!2"(    c                     | j         S )zGets the branch_id of this ModifyVpcSettingsRequest.  # noqa: E501


        :return: The branch_id of this ModifyVpcSettingsRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r   z"ModifyVpcSettingsRequest.branch_idG        r   c                     || _         dS )zSets the branch_id of this ModifyVpcSettingsRequest.


        :param branch_id: The branch_id of this ModifyVpcSettingsRequest.  # noqa: E501
        :type: str
        Nr   )r   r   s     r   r   z"ModifyVpcSettingsRequest.branch_idQ   s     $r   c                     | j         S )zGets the internet_protocol of this ModifyVpcSettingsRequest.  # noqa: E501


        :return: The internet_protocol of this ModifyVpcSettingsRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   z*ModifyVpcSettingsRequest.internet_protocol\   s     &&r   c                     | j         j        r|t          d          ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the internet_protocol of this ModifyVpcSettingsRequest.


        :param internet_protocol: The internet_protocol of this ModifyVpcSettingsRequest.  # noqa: E501
        :type: str
        Nz9Invalid value for `internet_protocol`, must not be `None`IPv4	DualStackz?Invalid value for `internet_protocol` ({0}), must be one of {1})r   client_side_validation
ValueErrorformatr   )r   r   allowed_valuess      r   r   z*ModifyVpcSettingsRequest.internet_protocolf   s     5 	Z:K:SXYYY +.6 	!77Q)>::  
 #4r   c                     | j         S )zGets the subnet_id of this ModifyVpcSettingsRequest.  # noqa: E501


        :return: The subnet_id of this ModifyVpcSettingsRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r	   z"ModifyVpcSettingsRequest.subnet_idz   r    r   c                 N    | j         j        r|t          d          || _        dS )zSets the subnet_id of this ModifyVpcSettingsRequest.


        :param subnet_id: The subnet_id of this ModifyVpcSettingsRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `subnet_id`, must not be `None`)r   r&   r'   r   )r   r	   s     r   r	   z"ModifyVpcSettingsRequest.subnet_id   s2     5 	R):KPQQQ#r   c                     | j         S )zGets the vpc_id of this ModifyVpcSettingsRequest.  # noqa: E501


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


        :param vpc_id: The vpc_id of this ModifyVpcSettingsRequest.  # noqa: E501
        :type: str
        Nz.Invalid value for `vpc_id`, must not be `None`)r   r&   r'   r   )r   r
   s     r   r
   zModifyVpcSettingsRequest.vpc_id   s1     5 	O&.MNNNr   c                     | j         S )zGets the workspace_id of this ModifyVpcSettingsRequest.  # noqa: E501


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


        :param workspace_id: The workspace_id of this ModifyVpcSettingsRequest.  # noqa: E501
        :type: str
        Nz4Invalid value for `workspace_id`, must not be `None`)r   r&   r'   r   )r   r   s     r   r   z%ModifyVpcSettingsRequest.workspace_id   s5     5 	U,:NSTTT)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hasattrr2   )xs    r   <lambda>z2ModifyVpcSettingsRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r2   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r2   r   r3   )items    r   r6   z2ModifyVpcSettingsRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r   )six	iteritemsswagger_typesgetattr
isinstancelistmapr4   r2   dictitems
issubclassr   )r   resultattr_valuekeys         r   r2   z ModifyVpcSettingsRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t.55 	$"jjll $ $
U#sr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr2   r   s    r   to_strzModifyVpcSettingsRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rL   r   s    r   __repr__z!ModifyVpcSettingsRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr>   r   r2   r   others     r   __eq__zModifyVpcSettingsRequest.__eq__   s5    %!9:: 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrP   rQ   s     r   __ne__zModifyVpcSettingsRequest.__ne__   s5    %!9:: 	4||~~00r   )NNNNNN)__name__
__module____qualname____doc__r<   attribute_mapr   propertyr   setterr   r	   r
   r   r2   rL   rN   rS   rU    r   r   r   r      s        
 " M  /% M) ) ) )(   X $ $ $ ' ' X' 4 4 4&   X 
$ 
$ 
$   X ]
 
 ]
 " " X" 
* 
* 
*  6. . .  1 1 11 1 1 1 1r   r   )rY   rJ   rer:   volcenginesdkcore.configurationr   objectr   r]   r   r   <module>ra      s|      				 



 9 9 9 9 9 9X1 X1 X1 X1 X1v X1 X1 X1 X1 X1r   